in reply to Unclosed tags in posts

Go to Display settings and turn on "Enforce proper nesting of HTML".

- tye        

Replies are listed 'Best First'.
Re^2: Unclosed tags in posts (done)
by blazar (Canon) on May 30, 2008 at 19:00 UTC

    D'Oh! How 'bout setting it as the default? (And incidentally, which advantage could deselecting it possibly have?)

    --
    If you can't understand the incipit, then please check the IPB Campaign.

      Deselecting balanced tags doesn't have much advantage (apart from enabling the fake xp nodelet on g0n's homenode), I think it's a historical feature. On the other hand, deselecting "HTML error reporting during preview", which shows the unbalanced tags and other HTML errors as grey tags can have an advantage if you write HTML using all the optional opening and closing tags the standard allows, because then perlmonks keeps complaining about unclosed tr, th, td, li, dt, dd tags (you don't ever need to close those though you can: a tr is closed by the next tr or closing the table, a th or td is closed by the next tr, td, td, or the end of the table, etc). It sometimes even complains about a missing closing p tag, like when a p tag is inside a blockquote or readmore. All those grey tags in the preview can be annoying if you mostly write correct HTML anyway.

        if you write HTML using all the optional opening and closing tags the standard allows

        I personally believe -incidentally- that by inspecting the source of all of my posts, but possibly for the very first ones, you'll find our that I always close all tags: I like to think XHTMLishly. So that wouldn't be a problem for me and I actually find the grey tags very useful, for they can only highlight an error on my part. I suppose that's cssable too, and in that case I may even turn them bright red instead...

        --
        If you can't understand the incipit, then please check the IPB Campaign.