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

Match element names case-insensitively #12

Closed jirutka closed 9 years ago

threedaymonk commented 9 years ago

This is certainly the intended behaviour, but I don't know why it's not being caught by the tests for script and style.

Could you please write some tests that demonstrate the failure?

jirutka commented 9 years ago

Try to run #14 with this line and this line reverted and you’ll see. ;)

threedaymonk commented 9 years ago

Oh, I see, so the fix is already in #14 so If I merge that this won't be needed.

jirutka commented 9 years ago

Yeah, I had to include it in #14 to pass tests.