Details
- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
Major
 - 
    1.8.4, 2.0 M1
 - 
    None
 
- 
        Integration
 - 
        Easy
 - 
        
 
Description
Content duplicated if i have a macro (toc, id..) in an html macro
If i have this content :
{{html wiki="true"}}
= Hello title 1 =
{{toc start="2"/}}
= Hello title 2 =
{{/html}}
And if i edit and save the page in WYSIWYG, my content is duplicated.
The generated code is : 
{{html wiki="true"}}
= Hello title 1 =
{{toc start="2"/}}
= Hello title 2 =
{{/html}}
{{toc start="2"/}}
= Hello title 2 =
I tested it with the Toc macro but also with the ID macro, the result is the same.
Attachments
Issue Links
- depends on
 - 
                    
XWIKI-4088 The output of the HTML macro with wiki=true is parsed and generates duplicated content
-         
 - Closed
 
 -