Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3809

Text cropped when using code macro inside html macro

    XMLWordPrintable

Details

    • Unit
    • Unknown

    Description

      I have the following content on a page:

      {{velocity}}
      {{html wiki="true"}}
      
      {{code language="xml"}}
      
      <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-
      core-schema.xsd"/>
      
      {{/code}}
      
      {{/html}}
      {{/velocity}}
      

      The renderer (xwiki 2.0) is cropping the first word ("import"). The rendered page looks like this:

      namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig- core-schema.xsd"/> 
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            hor Reto Hotz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: