Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.4.7
-
None
-
None
Description
When I execute a template such as:
html { head { title('The title') meta(name: 'title', content: 'The title') meta(name: 'description', content: 'The description') } }
Having autoIndent and autoNewLine set to true I expect a result similar to this:
<html> <head> <title>The title</title> <meta name='title' content='The title'/> <meta name='description' content='The description'/> </head> </html>
But I get all elements in the same level as one string:
<html> <head> <title>The title</title><meta name='title' content='The title'/><meta name='description' content='The description'/> </head> </html>
When there are a lot of elements in the same level leads to an unreadable formatting, what obviously isn't the purpose of pretty printing.