Momo (momokatte) wrote in lj_dev,
Momo
momokatte
lj_dev

lj_dev newbie

Hi everybody! I just started helping out in the LJ support area, mostly with HTML and CSS troubleshooting, and decided to join lj_dev when I came across an HTML cleaning bug.

I'm pretty sure I read that cleanhtml.pl is currently under review, and want to find out if the following bug has been identified and/or fixed:

'autoclose' does not do tag nesting, it instead runs through a fixed-order list and generates the required number of closing tags for each opening tag in the entry. This is okay (but not XHTML compliant) for font formatting tags, but is causing problems with unclosed tables and tables left open by the <lj-cut> tag.

For example, if a person starts two tables in an entry but they get cut off by an <lj-cut> tag, the entry is autoclosed with this:

</table></table></tr></tr></td></td>

instead of this:

</td></tr></table></td></tr></table>

This behavior caused the table breakage addressed in support request 14987 and may also be causing the 'narrow table' anomalies listed in other support requests.

Since I just joined lj_dev, I don't think I have access to the cleanhtml.pl currently under review. Could someone provide a link, or e-mail the file to me?
Subscribe

  • 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 

  • 13 comments