Page MenuHomePhabricator

Wrong display of block elements embedded in list items generated with Wiki syntax
Open, Needs TriagePublic

Description

It is allowed in html code (v4 and v5) to embed block containers in list items, for instance embedded with div tags. If these lists or list items are produced using Wiki syntax, only the first block is shown in the list item. The following blocks are shown outside the list. A workaround is the use of html-like tags. In latter case all block items are part of the list item with correct html code.

Example of failed parsing with Wiki syntax:

* <div>First paragraph.

Second paragraph.

Third paragraph.
</div>

Same example with html-like parsing working correctly:

<ul>
<li>
<div>First paragraph.

Second paragraph.

Third paragraph.
</div>
</li>
</ul>

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 25 2019, 7:34 AM

Removing Parsing-Team as it is up to teams to decide what they want on their workboards.