in reply to Re^8: Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
in thread Keep quotes around numerical attributes after parsing with HTML::Treebuilder?

You're right: <br/ gets parsed into <br></br>.

However, even under HTML 4.01 strict <br/> gets parsed into <br></br> as well!

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re^10: Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
by dorward (Curate) on Jul 19, 2005 at 21:26 UTC

    That is becuase <br> is defined as an empty element.

    That isn't my point though, look again:

           breaks in it
           >breaks in it