Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: side effects "Enforce proper nesting of HTML"

by tye (Sage)
on Jun 05, 2017 at 04:15 UTC ( [id://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 (Saint) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1192141]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-16 07:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found