Changes between Version 4 and Version 5 of StripWhitespaceMiddleware
- Timestamp:
- May 31, 2011, 1:00:18 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StripWhitespaceMiddleware
v4 v5 7 7 By Doug Van Horn 8 8 9 ---- 9 ---- CHANGES ---- 10 10 v1.1 - 31st May 2011 11 11 Cal Leeming [Simplicity Media Ltd] 12 12 Modified regex to strip leading/trailing white space from every line, not just those with blank \n. 13 --- 14 TODO: Ensure whitespace isn't stripped from within <pre> or <code> or <textarea> tags. 15 --- 13 14 ---- TODO ---- 15 * Ensure whitespace isn't stripped from within <pre> or <code> or <textarea> tags. 16 16 17 """ 17 18