I don't think UL where a LI should be is valid HTML. This is NOT valid
HTML I conject.
That embedded UL needs to be IN a LI tag like:
<ul>
<li> item 1 </li>
<li><UL> ... start new list here.
I could be wrong and often am. :)
--
Jim Manico
(808) 652-3805
On Oct 22, 2012, at 6:43 PM, Jon Stevens <
latc...@gmail.com> wrote:
> first... thanks for an excellent project.
>
> second, it seems perfectly valid html like this:
>
> <ul>
> <li>asdf</li>
> <ul>
> <li>adfasdf</li>
> </ul>
> </ul>
>
> is getting sanitized into this:
>
> <ul>
> <li>asdf</li>
> </ul>
> <ul>
> <li>adfasdf</li>
> </ul>
>
> I've looked through the docs and the source (v117), but I can't seem to figure it out. Is there some way to keep the nesting?
>
> thanks,
>
> jon