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

When Velocity is inline and contain html macro in standalone context it generate a paragraph

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1, 1.9 M1
    • Fix Version/s: 2.2 M2, 2.1.2
    • Component/s: {Unused} Rendering 2.0
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      some text {{velocity}}{{html}}hello{{/html}}{{/velocity}}
      
      <p>some text <!--startmacro:velocity|-||-|{{html}}hello{{/html}}--><p>hello</p><!--stopmacro--></p></p>
      

      instead of

      <p>some text <!--startmacro:velocity|-||-|{{html}}hello{{/html}}-->hello<!--stopmacro--></p></p>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: