Janet (j4) wrote,
Janet
j4

This is an ex-HTML

Okay, I think I'm going mad. I put the following into our CMS:
<ul>
<li> Item 1
<ul>
<li> SubItem 1</li>
<li> SubItem 2</li>
</ul>
</li>
<li> Item 2</li>
</ul>
and it (silently, without any notification) 'corrected' it to the following:
<ul>
<li>Item 1
<ul></ul></li>
<li>SubItem 1</li>
<li>SubItem 2</li>
<li>Item 2</li></ul>
I pointed this out to the people who are setting up the new site for us, and they raised it as a support call with the CMS people, and got the following response:
"Could you please use the following schema:

<ul>
<li>Item 1</li>
<ul>
<li>SubItem 1</li>
<li>SubItem 2</li>
</ul>
<li>Item 2</li>
</ul>


Such syntax is formatted correctly."
If such syntax is formatted correctly, why doesn't it validate? I'm not even trying to be a validation Nazi about this (it's not as if anything that comes out of this CMS is ever going to validate anyway), it's more that I don't really want to have to 'correct' all our existing HTML to prevent it being 'corrected' by the CMS.
Tags: web0.2, you'd think
Subscribe

  • The club of query trades

    It seems like everybody I know has done this heap-of-questions thing, so I'm joining the club (no, not that club). Can you cook? Yes. I can't…

  • 20/20

    I figure that if hatmandu does it, it can't be too uncool: 1. Elaborate on your default icon. It's a jaffa orange. A long time ago in…

  • Ironic meme

    Fe... Iron You scored 31 Mass, 40 Electronegativity, 65 Metal, and 10 Radioactivity! I don't really need to describe you do I? You're…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 31 comments

  • The club of query trades

    It seems like everybody I know has done this heap-of-questions thing, so I'm joining the club (no, not that club). Can you cook? Yes. I can't…

  • 20/20

    I figure that if hatmandu does it, it can't be too uncool: 1. Elaborate on your default icon. It's a jaffa orange. A long time ago in…

  • Ironic meme

    Fe... Iron You scored 31 Mass, 40 Electronegativity, 65 Metal, and 10 Radioactivity! I don't really need to describe you do I? You're…