Item14096: Bulleted List - level 2
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
--
CarmenPomana - 14 Jun 2016
When trying to create a list with bullet points at level 2 only, FOS Wiki inserts at the beginning a bullet point at level 1 as well (although not intended)
Browsers where this was noticed:
- Internet Explorer 11
- Google Chrome 51.0.2704.84
FOS Wiki translates to:
<ul>
<li>
<ul>
<li> item 1 </li>
<li> item 2 </li>
</ul>
</li>
</ul>
Instead of:
<ul>
<ul>
<li> item 1 </li>
<li> item 2 </li>
</ul>
</ul>
The HTML that Foswiki generates is valid HTML - your preferred version is not. UL is not permitted as a direct child of a UL element - see
http://w3c.github.io/html/single-page.html#the-ul-element
You can achieve the same effect in valid HTML with CSS, but that will require HTML. For example,
<ul style="list-style: none;">
<li>
* Item 1
* Item 2
</li>
</ul>
gives:
--
Main.CrawfordCurrie - 17 Jun 2016 - 08:34