-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
Severity 3 - Minor
-
Issue Summary
C# (sharp) String syntax in Confluence Code Macro renders incorrect colouring for text within triple quotes.
Steps to Reproduce
- Add code macro on a confluence page
- Select C Sharp as a language
- Add any String syntax enclosed in double quotes, and include one double quote extra within the enclosed text. Example:
var singleLine = """This is a "raw string literal". It can contain characters like \, ' and ".""";
- The colouring of the text will not be correct, it should all be green within the double quotes.
Expected Results
All the text syntax must be shown in green and an extra double quote should be considered as a text and not as a pre-defined C# syntax.
Actual Results
An extra double quote is considered as a pre-defined C# syntax and not a text merely even despite being enclosed in double quotes.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available