Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-712

annotated xhtml Inline macro following inline parameters can be lost when rendered in xwiki syntax

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A
    • Awaiting Committer feedback

    Description

      Reproduction case:

      .runTransformations
      .#-----------------------------------------------------
      .input|xhtml/1.0
      .#-----------------------------------------------------
      <!--startmacro:info|-||-|(% class="someclass" %)aaaa \{\{info}}bbb\{\{/info}}--><div class="box infomessage"><div data-xwiki-non-generated-content="java.util.List&lt;org.xwiki.rendering.block.Block&gt;" class="xwiki-metadata-container"><p><span class="someclass">aaaa <!--startmacro:info|-||-|bbb--><span class="box infomessage"><span data-xwiki-non-generated-content="java.util.List&lt;org.xwiki.rendering.block.Block&gt;" class="xwiki-metadata-container">bbb</span></span><!--stopmacro--></span></p></div></div><!--stopmacro-->
      .#-----------------------------------------------------
      .expect|xwiki/2.1
      .#-----------------------------------------------------
      {{info}}
      (% class="someclass" %)aaaa {{info}}bbb{{/info}}
      {{/info}}
       

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: