Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.1.1, 2.2 M2
-
None
-
Unit
-
Unknown
-
Description
The problem is that with 1.0 syntax
parser.parse(new StringReader(documentContent));
is converted to 2.0 syntax and then parsed. So if there is html in it it generate html macro with the html content it it.
Problem is that when html macro is executed it tries to parse the content with the source proided to the TransformationManager which here is xwiki/1.0 and then re-do the same thing (convertt from 1.0 to 2.0 and generate html macro since the content has html, parse it, execute html macro, etc.) which produce an infinite loop.
Attachments
Issue Links
- depends on
-
XWIKI-5985 Add syntax information to MetaData Block
- Closed
-
XWIKI-6015 Add a more generic Block navigation API
- Closed
- relates to
-
XWIKI-6020 Included document syntax is lost when executing its macros
- Closed