threedaymonk / htmlbeautifier

A normaliser/beautifier for HTML that also understands embedded Ruby. Ideal for tidying up Rails templates.
MIT License
325 stars 59 forks source link

Lint mode? #52

Closed samsondav closed 2 years ago

samsondav commented 4 years ago

We want to lint our .html.erb files for valid HTML as a CI check. Can this libary do it?

mweitzel commented 2 years ago

Would a PR be welcome for this? I have a branch implementing a naive version of this but wanted to check before adding pollish for a PR.

threedaymonk commented 2 years ago

Yes, that sounds useful. Please do!

threedaymonk commented 2 years ago

Included in 1.4.0 thanks to @mweitzel