-
Bug
-
Resolution: Fixed
-
Low
-
6.10.0
-
1
-
Severity 3 - Minor
-
Issue Summary
When code is added to a tabbed code block in a pull request comment, the code may be incorrectly turned into emoji.
Steps to Reproduce
- Add the following comment in a Pull Request:
REGULAR TEXT if (foo == 8) REGULAR TEXT
- Notice that "8)" is turned into the emoji:
Expected Results
"8)" should not be turned into emoji.
Actual Results
- "8)" is turned into emoji.
- It cannot be escaped with a backslash because the backslash ends up being displayed:
Workaround
Use backticks (```) for encapsulating the code block, like this:
REGULAR TEXT ``` if (foo == 8) ``` REGULAR TEXT
Alternatively, use 4 spaces for the indentation rather than a tab character.
- relates to
-
BSERV-9432 Syntax highlighting parses issue links inside code block
- Gathering Impact
- mentioned in
-
Page Loading...