Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.8.1
-
None
-
Unit
-
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