My bulleted (unordered) lists are looking wrong since installing HTML corrector.
<ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li></ul>
gets changed to:
<ul>
</ul><li>item 1</li>
<li>item 2</li>
<li>item 3</li>
Disabling the HTMLC input format fixes the problem, but obviously I lose HTML's other benefits.
Thanks for your help.
Comments
Comment #1
jsg commentedSorry, that should of course say "...but I lose HTMLC's other benefits."
Comment #2
jsg commentedJust so you can see the effect, the first example above is rendered thus:
and the second example thus:
Comment #3
jsg commentedThis is preventing me using the module, so I hope you won't mind me upgrading this bug to critical.
Comment #4
Steven commentedI cannot reproduce locally. HTMLCorrector leaves ul/li structures well alone as long as they are nested correctly. Make sure there is no other filter interfering with htmlcorrector...
Comment #5
jsg commentedI'm happy to report that Steven's comment (about other filters interfering) enabled me to solve the problem. The solution was to make the HTMLC filter operate just before the BBCode filter, instead of just after it. In other words, in admin / input formats / configure / rearrange, give the HTMLC filter a weight one less than the BBCode filter. Could I suggest documenting this interaction in the next release of the module?