Skip to content
This repository has been archived by the owner on Apr 25, 2018. It is now read-only.

Use a different tool for html-beautifying. #31

Open
armcburney opened this issue Nov 27, 2016 · 3 comments
Open

Use a different tool for html-beautifying. #31

armcburney opened this issue Nov 27, 2016 · 3 comments

Comments

@armcburney
Copy link
Member

The gem we're using currently for beautification doesn't support html5 unfortunately. We should do some investigation into tools which support html5 beautification as well (or we could make a PR to the gem to support html5 😉).

@armcburney armcburney added this to the v2 Release milestone Nov 27, 2016
@davepagurek
Copy link
Member

We could pass in an indentation level to to_html and make tags auto-indent sub tags? would be pretty quick and would mean no outside dependencies are needed

@armcburney
Copy link
Member Author

Yeah, that could work!

@armcburney
Copy link
Member Author

Since we're using C++ now, we can use the html5 variant of Tidy: https://github.com/htacg/tidy-html5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants