Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: side effects "Enforce proper nesting of HTML"

by tye (Sage)
on Jun 05, 2017 at 04:15 UTC ( #1192141=note: print w/replies, xml ) Need Help??


in reply to side effects "Enforce proper nesting of HTML"

Because many browsers have decided to treat </br> as if it were something useful like <br />. The current version of our HTML parsing code does not go quite so far in assigning meaning to nonsense.

- tye        

Replies are listed 'Best First'.
Re^2: side effects "Enforce proper nesting of HTML"
by LanX (Cardinal) on Jun 05, 2017 at 10:25 UTC
    Shouldn't illegal markup always be rejected?

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      Be conservative in what you do, be liberal in what you accept from others.
      —Postel's law

        I should have clarified that my motivation was security not a purist ideology.

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!

      I would support it. I would support removing deprecated HTML as well.

      No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
      Lady Aleena
        At the time PM was drafted, HTML was still evolving, so I'm not surprised.

        Anyway my question was just a question, ie seeking better understanding and not a call for action which needs "support".

        Not sure if my English is flawed here ...

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1192141]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-09-28 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I don’t succeed, I …










    Results (144 votes). Check out past polls.

    Notices?