Problem
When using the following render settings;
codeBlock: {
languageMap: 'javascript',
options: {
title: '',
},
},
, or anything that false coalesces (whitespace or null) the code block syntax output is as follows;
{code:title=|language=none|borderStyle=solid|theme=RDark|linenumbers=true|collapse=true}
and renders as
when submitted as comment content to JSM.
Suggestion / Identified fix
Replacing the "{code:title=|" section with "{code:" fixes the issue and renders as follows;
when submitted as comment content to JSM. As such, it seems like submitting a null value / unused property like that to Atlassian isn't supported.
Problem
When using the following render settings;
, or anything that false coalesces (whitespace or null) the code block syntax output is as follows;
and renders as
when submitted as comment content to JSM.
Suggestion / Identified fix
Replacing the "{code:title=|" section with "{code:" fixes the issue and renders as follows;
when submitted as comment content to JSM. As such, it seems like submitting a null value / unused property like that to Atlassian isn't supported.