Re:The thing I hate about HTML (2010)
by krapp on Tuesday March 10, 2015 @11:27PM
(#9182411)
Indenting all of the tags would help, but that's probably about it.
[ Parent
| on HN ]
In theory, maybe.
In practice, where the code is coming from 3 or 4 different levels of templating? Bets are off.
I use Twig for templating a lot, and I have to admit that while I indent per template, i don't even bother keeping track between parent and child.
But then, Twig has its own weird issues sometimes with adding whitespace so I've given up caring how templated html works altogether in that case.