-
-
Couldn't load subscription status.
- Fork 118
Description
scala.xml.PrettyPrinter does not generate validate W3 html markup language, and alters the orginal placements of tags.
For example
script(src:=""/assets/jquery.min.js"")
generates
< script src="/assets/jquery.min.js"></script>
and is converted to
< script src="/assets/jquery.min.js"/>
When in development it is useful to see the structure of the HTML, however by using scala.xml.PrettyPrinter as described in the readme.md the output is changed and becomes invalid.
Would it be possible to create a basic pretty-print within scalatags itself, I don't think you would need to wrap long lines of text, but showing the correct indentation would be enough.