https://bugzilla.wikimedia.org/show_bug.cgi?id=24569

           Summary: HTML output mishmash for <poem> within list item
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: need-parsertest, parser
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Given wikisyntax input

* foo
* bar
* <poem>
loirem
ipsum
dolor
sit
amet
</poem>
* baz
* qux

Expected HTML output (padding by myself to emphasize the structure)
<ul>
  <li>foo</li>
  <li>bar</li>
  <li>
    <div class="poem">
      <p>loirem<br/>
      ipsum<br/>
      dolor<br/>
      sit<br/>
      amet</p>
    </div>
  </li>
  <li>baz</li>
  <li>qux</li>
</ul>

Current HTML output (padding by myself to emphasize the structure)
<ul>
  <li>foo</li>
  <li>bar</li>
  <li>
    <div class="poem"></div>
  </li>
</ul>
<p>loirem<br/>
ipsum<br/>
dolor<br/>
sit<br/>
amet</p>
<ul>
  <li>baz</li>
  <li>qux</li>
</ul>


Applies to # list as well.
Applies to {{#tag:poem}} as well.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to