Defect #28469
closed
Syntax highlighter does not work if language name is single-quoted
Added by Go MAEDA almost 7 years ago.
Updated over 6 years ago.
Description
Please see the screenshot below. Syntax highlighter does not work if "Text formatting" is set to "Textile" and the language name is enclosed by single quotation marks. The Textile formatter should accept single quotation marks as well as double quotation marks.
Files
I think it is natural to use single quotes.
I wrote a patch to fix this defect.
Mizuki ISHIKAWA wrote:
I think it is natural to use single quotes.
I wrote a patch to fix this defect.
I would recommend to add a tests for this single quotes case.
Marius BALTEANU wrote:
Mizuki ISHIKAWA wrote:
I think it is natural to use single quotes.
I wrote a patch to fix this defect.
I would recommend to add a tests for this single quotes case.
I forgot to write a test.
I appreciate your advice.
This is the patch that added the test.
- Target version set to 3.3.8
LGTM. Setting target version to 3.3.8.
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed to the trunk and stable branches. Thank you for fixing this issue.
- Has duplicate Defect #14443: Property class in <code> inside <pre> does not accept a single quotes added
Also available in: Atom
PDF