Hi everyone,
CS 2.1 is modifying my col elements entered directly into the html source of a blog post by wrapping them with a colgroup tag (supplying an incorrect value for the span attribute as well). Also, my caption tag isn't being modified or removed but it's being excluded when the published post is viewed, which may be invalid XHTML 1.0 markup.
Here's an example of part of the source HTML for my blog post:
<table border="1"> <caption>Table Caption</caption> <!-- Caption is left in the source but it doesn't appear in the published post --> <colgroup span="1"> <!-- This tag was added automatically when I clicked the Update button, --> <col span="1"></col> <!-- but I only added this col tag (span was added by CS) --> <col span="1" width="100"></col> <!-- and this col tag to the html (span also added by CS) --> </colgroup> <tbody> <!-- this is also added by CS although it hasn't caused any problems for me --> ...
The strange thing is that the code above appears in the HTML source for a published blog entry, but when I view the source in my browser while looking at the post the caption, colgroup and col tags aren't present. The text within the caption appears between the tbody and table elements without an enclosing caption tag.
I believe that it's valid XHTML 1.0 for col to be specified without being nested in a colgroup. Also, caption is certainly valid as well and I'd like to use it if possible.
Is this a known bug?
Are there any workarounds?
Thanks for your help.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com