No, IE and FireFox don't render ­&lt;/br> the same as <br />. They render </br> as if it were <br /> (and even render <br></br> as if it were <br /><br />). If you want to use PerlMonks to test that, then turn off HTML nesting enforcement so that the browser will see </br> (not &lt;/br> or nothing).

HTML nesting enforcement will remove and/or add tags to attempt to make the node well-formed so it won't impact the display of surrounding material. If you have its error reporting turned up high enough, then it will also add greyed-out information about what was removed or added. So the original (invalid) </br> is removed by it and, for you, a greyed-out version is inserted so the transformation is not "silent" in this case.

It is sad that "view source" (in the case FireFox, at least, last I checked) doesn't always faithfully show the source that it received so that people are left guessing.

- tye        


In reply to Re^7: Add < /br> to Approved tags? (rub) by tye
in thread Add < /br> to Approved tags? by ww

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.