Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Component/s: {Unused} Macros & Filters, {Unused} Rendering 2.0
-
Labels:None
-
Tests:Unit
-
Similar issues:
Description
Not sure if this is a feature or a bug, but just in case... The code macro fails to render the following snippet:
{{code}}
SELECT * FROM XYZ -- this will select from XYZ
{{/code}}
This outputs no result (seems to be because of the double dash). This also starts to become an issue when pasting snippets like the following:
{{code}} int x = 5; System.out.println(--x); {{/code}}
This also fails to render properly when pasted into the GWT editor...
Attachments
Issue Links
- relates to
-
XWIKI-3570 Code macro fails to escape properly in GWT editor
-
- Closed
-