Skip to content

Commit

Permalink
DOCS-691: fix conversion of inline code
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-heyer committed Jun 6, 2024
1 parent ab50a7b commit 8d770db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/automation/actions/jira-sync/jira.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,11 @@ function convertNodes(node, root, activeMarks = [], allowedTypes = allTypes) {
html: NIblock,
image: NI,
imageReference: NI,
inlineCode: (node) => addMark("code"),
inlineCode: (node) =>
map("text", {
marks: [{ type: "code" }, ...activeMarks],
text: node.value,
}),
link: (node) =>
addMark("link", { href: node.url, title: node.title || undefined }),
linkReference: (node) => typeConverter["link"](makeLinkForReference(node)),
Expand Down

1 comment on commit 8d770db

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.