The tornado's template make many blank line ,especially in the iteration.How to do better.
| <html> | |
| <head> | |
| </head> | |
| <body> | |
| test1 | |
| test2 | |
| <br>test | |
| <br>test | |
| <br>test | |
| <br>test | |
| <br>test | |
| </body> | |
</html> //============================================= |
Could tornado offer an option about this? Like `lstrip_blocks` or `trim_blocks` in Jinja2.Change my templates to eliminate empty lines will make them look creepy.Readability counts, right?
--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornad...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.