-
Bug
-
Resolution: Won't Fix
-
Low
-
1
-
Severity 3 - Minor
-
Summary
The code macro for xml does not properly highlight commented out lines if the comment contains an xml tag. The syntax highlighting is looking for > instead of --> to end the comment highlight.
Environment
Cloud
Steps to Reproduce
- Create a comment or issue body with the bellow macro content:
{code:xml} <xml1>some stuff</xml1> <!--comment with no tags--> <!--<xml1>comment with tags</xml1> {code}
Expected Results
The commented line highlighting should extend all the way up to and including the -->
Actual Results
The comment highlighting ends incorrectly with the first > in the line
Notes
What ever logic being used for comment highlighting seems to be looking only for > to signal the end of the commented line instead of -->
Workaround
None
- is related to
-
JRACLOUD-71440 Code Syntax Highlight is not maintained in the new issue view
-
- Closed
-
- mentioned in
-
Page Loading...