How do you *personally* prefer to write HTML attributes?
I'm on team double-quotes, but I don't really understand why.
So I think I'm going to rewrite my HTML (yet again) to exclude them where possible.
I wish languages like HTML and PHP had a separate string delimiter which wasn't a single or double quote.
Something like:
$string = ❝He said "isn't it nice?"❞;
@Edent Rather than rewrite anything by hand, why not use a minifier to make that and many other optimisations systematically, eg stripping optional closing tags, sorting attributes and class names, collapsing whitespace, etc...
Edited 30d ago