Last modified: 2014-01-12 07:36:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T26569, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24569 - HTML output mishmash for <poem> within list item
HTML output mishmash for <poem> within list item
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-parsertest, parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-28 14:40 UTC by Danny B.
Modified: 2014-01-12 07:36 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Danny B. 2010-07-28 14:40:37 UTC
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.
Comment 1 This, that and the other (TTO) 2014-01-12 07:36:07 UTC
This is a parser bug, since it also occurs when <poem> in comment 0 is replaced by <div>. (The Poem extension just spits a <div> at the parser.)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links