Closed paulmsmith closed 11 years ago
Can you make a minimal input file that shows this behaviour?
Hi thanks for getting back to me. I basically run this:
htmlbeautifier build/*/*.html
On this set of files. (http://files.airfront.co.uk/directory/08_temp/build.zip)
Thanks again for this gem its awesome.
I narrowed the problem down to one line in one file (templates/icons.html
):
<p class="group"><span data-icon="<" aria-hidden="true"></span> icon character code "<strong><</strong>"</p>
This isn't valid HTML. If you change the two instances of <
to <
, it should work.
I've improved the error reporting slightly: it now tells you the filename that failed, and it doesn't blank a file on error.
Legend! Of course! Thank you. I owe you a beer/coffee!
Hello,
Hope you're well. I'm seeing an error when running the gem. It was working fine but has now started producing this:
I'm using this in my gem file:
I wonder if some of my mark-up is causing it but have no idea how to track it down. Any help would be massively appreciated. :)