Open Spheerys opened 11 years ago
don't know if this is really necessary because XHTML syntax is valid in HTML5 and as a plus it's much "cleaner" in my opinion, so why not embrace the strictness of XHTML when writing HTML5?
The problem with the new autorized syntax with HTML5, is the result after XHTML Beautify is "broken" because the absence of the final slash on several balises...
Just have a try with ,
or and you will see :)
Accidentally closed this - apologies. At the moment it only works with XHTML (which you can use in HTML5 like exside pointed out). I need to make major improvements to this extension over the coming weeks so I will look into it then. I will keep this open until then :smile:
Yes good news ! I'm working on another html5 website and this improvement will be very nice :)
Any news about the HTML5 support ? I had desactivated the plugin because the indentation was worse than without :(
I am waiting on htmLawed to get updated with HTML5 support (the dev said it would be released last week). Then I will be using that for v2 which shouldn't take too long to do.
oK super :)
how about html5 support? it's already been a while since the last active post here
up :)
A pre-release is available at https://github.com/Gibbs/modx-html-beautify/releases/tag/v2.0.1. You can test this by downloading xhtmlbeautify-2.0.1.transport.zip
and uploading it in the MODX package manager or uploading it to core/components
.
This was a very quick job so experiment at your own risk :)
Please leave feedback at https://github.com/Gibbs/modx-html-beautify/issues
thanks ! I have openned 2 issues on your repository :)
Hi !
I now develop with HTML5 and XHTML Beautify don't consider the unecessary final slash for balise meta, link, img, br or hr
Do you think to make a "HTML5 Beautify" for MODx ? :)