Ticket #1468 (reopened Bug)
MediaWiki+FCKeditor doesn't play nicely with HTML lists
| Reported by: | tomthehand | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Project : MediaWiki+FCKeditor | Version: | |
| Keywords: | Confirmed | Cc: |
Description
MediaWiki+FCKeditor doesn't play nicely with HTML lists. See the following HTML list, where each level of the list uses a different list-style-type:
<ol>
<li>First level, first item</li>
<li>First level, second item
<ol style="list-style-type:lower-alpha">
<li>Second level, first item</li>
<li>Second level, second item</li>
</ol>
<li>First level, third item</li>
</ol>
If MediaWiki+FCKeditor gets its hands on this list, it turns it into the following:
#First level, first item
#First level, second item
##Second level, first item
##Second level, second item
#First level, third item
By converting it into a MediaWiki list, the list-style-type of the second level is lost, so they're all numbers instead of numbers at the top level and letters at the next.
It would be preferable if MediaWiki+FCKeditor would refrain from converting HTML lists to MediaWiki if the HTML lists have styles which will get lost.