diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2012-11-29 11:28:25 +0100 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2012-12-01 20:19:43 +0100 |
commit | 9945468603b8476f735d735dbc7505ee47ff9f42 (patch) | |
tree | 9c48a9cc7472538e8c91771862c24afdcf59ed76 /setup.py | |
parent | a30fb1d89d11a0afddaf2bb8297a51db6d9e75db (diff) | |
download | mediagoblin-9945468603b8476f735d735dbc7505ee47ff9f42.tar.lz mediagoblin-9945468603b8476f735d735dbc7505ee47ff9f42.tar.xz mediagoblin-9945468603b8476f735d735dbc7505ee47ff9f42.zip |
trim_whitespace meddleware plugin
Our HTML output is very verbose (=whitespacy) as our templates are
written with an 80 char limit and lots of newlines between blocks,
variables etc....
This is a plugin that naively strips of all but the first whitespace
from the HTML response. We might want to have an all-fancy html tidy
interface here at some point, but it nicely decreases the HTML size
about a third on some simple pages.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions