-
Type:
Bug
-
Resolution: Answered
-
Priority:
Low
-
Affects Version/s: N/A
-
Component/s: Code reviews
-
Severity 3 - Minor
-
0
Wrong escaping of single quote in python syntax
Steps to Reproduce
- Create review comment with python syntax containing single quote :// code placeholder
{code:python}
def function(parameter):
dict_ = {1: 'test', 2: 'another'}
print(dict_[2])
{code}
Expected result
A correctly rendered single quote.
def function(parameter):
dict_ = {1: 'test', 2: 'another'}
print(dict_[2])
Actual Result
A single quote is replaced by escape sequence.
def function(parameter):
dict_ = {1: 'test', 2: 'another'}
print(dict_[2])
Workaround
Use {code:java} instead of {code:python} in review comments