Commit f085ddb 1 parent 70d10d6 commit f085ddb Copy full SHA for f085ddb
File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ Features
63
63
Bugfixes
64
64
--------
65
65
66
+ * Turned minify_lines into a no-op (Issue #1497)
66
67
* Don’t classify unpublished posts as pages (Issue #1577)
67
68
* Fixed a ``TranslatableSetting.langformat`` race condition
68
69
* Fixed ``TranslatableSetting`` instantiation in
Original file line number Diff line number Diff line change @@ -1319,7 +1319,7 @@ The currently available filters are:
1319
1319
}
1320
1320
1321
1321
minify_lines
1322
- Strips leading whitespace and blank lines. Useful for compacting HTML but pre-formatted text must be escaped manually.
1322
+ **THIS FILTER HAS BEEN TURNED INTO A NOOP** and currently does nothing.
1323
1323
1324
1324
yui_compressor
1325
1325
Compress CSS/JavaScript using `YUI compressor <http://yui.github.io/yuicompressor/>`_
Original file line number Diff line number Diff line change @@ -149,9 +149,7 @@ def jpegoptim(infile):
149
149
150
150
@apply_to_text_file
151
151
def minify_lines (data ):
152
- datalines = data .splitlines ()
153
- datalines = [line .lstrip () for line in datalines if not (line .strip () == "" )]
154
- return "\n " .join (datalines )
152
+ return data ;
Has conversations. Original line has conversations. 155
153
156
154
157
155
@apply_to_text_file
You can’t perform that action at this time.