Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.30
-
None
-
Unknown
-
Description
A URL inside a Code Snippet macro gets transformed after publishing to replace the first part with Xwiki local data.
Steps to reproduce:
1. Create a book page containing:
{{code language="none"}}source:jdbc:postgresql://model9db:5432/model9{{/code}}
2. Publish it to a target space.
3. Check the target space.
Expected Result
The published content is identical to the draft for the Code Macro. Code Macro content is plain text and is not treated as wiki syntax
Actual Result
The content of the code snippet macro is parsed and transformed into:
doc:xwiki:referenceOfTargetSpace.source:jdbc:postgresql://model9db:5432/model9
Tested on XWiki 17.10.4 and Book Versions 1.30