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

Textarea display does not take into account inline context

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 2.2.2
    • Old Core
    • None
    • Unknown

    Description

      To reproduce:

      = Title =
      
      some description{{velocity}}$doc.use("Main.TodoClass")
      $doc.display("Description"){{/velocity}}
      

      This generates the following:

      <h1 id="HTitle"><span>Title</span></h1><p>some description<!--startmacro:velocity|-||-|$doc.use("Sandbox.FF3")
      $doc.display("foo")--><p>test</p><!--stopmacro--></p>
      

      Notice the paragraph inside a paragraph problem

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: