Author: haridara
Description:
I am using colon (:) to prefix the list items such that I will get an extra indentation (I don't like <blockquote> as it gives too much indentation). This seems to rather work very well, but I consistently see extra </dd> getting generated and no matter how I try to remove them, they come back when I save (even if they don't exist in the preview). Here is an example (wikitext):
Here are some fruits:
:* apples
:* bananas
:* oranges
<<<<
Turn off wikitext and see nicely formatted text such as:
Here are some fruits:
- apples
- bananas
- oranges
<<<<
Now switch back to Wikitext you start seeing the excess </dd> tags. In this case you will see:
Here are some fruits:
<dl><dd>
<br> <br>
- apples
- bananas
- oranges
</dd>
</dd></dl>
<<<<
Every time you switch back and forth, you would see an extra </dd> getting added. Of course, the colon prefix has nothing to do with this behavior as you would see this even if you started like the below in the first place:
Here are some fruits:
<dl><dd>
- apples
- bananas
- oranges
</dd></dl>
<<<<
The problem seems to be fundamental to the parsing of <dd></dd> tags, try this and you will see the same extra </dd> tags:
Here are some fruits:
<dd>
- apples
- bananas
- oranges
</dd>
<<<<
Version: 1.11.x
Severity: normal