]> git.ipfire.org Git - thirdparty/tornado.git/commit
Introduce `oneline` template whitespace mode.
authorBen Darnell <ben@bendarnell.com>
Sun, 5 Jul 2015 21:13:07 +0000 (17:13 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 5 Jul 2015 21:13:07 +0000 (17:13 -0400)
commit254783a0da0f395c46423094170bb7cabba8a8f3
tree3b8131630b1d4ecb633d0321d202ee4c54edfa47
parent72251a29d25e90bd1b452b7a104153e7dc8419f2
Introduce `oneline` template whitespace mode.

This slightly-more-aggressive whitespace removal doesn't actually
save any space, but it removes the very conspicuous blank lines
that are often left around template directives.

Closes #291.
Closes #1083.
tornado/template.py
tornado/test/template_test.py