aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/trim_whitespace
Commit message (Collapse)AuthorAgeFilesLines
* Apply pyupgrade --py36-plus.Ben Sturmfels2021-09-231-1/+1
| | | | This removes some 'u' prefixes and converts simple format() calls to f-strings.
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-051-3/+2
|
* Spell-check the entire documentation.Ben Sturmfels2016-09-181-1/+1
|
* Tweak the trim whitespace plugin documentation.Berker Peksag2014-04-101-5/+10
| | | | | | - Fix code highlighting - Wrap all lines to 80 chars - Add more markup (eg. Response() to ``Response()``)
* trim_whitespace meddleware pluginSebastian Spaeth2012-12-012-0/+98
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>