File: no-blank-at-start_255631.patch

package info (click to toggle)
libhtml-clean-perl 0.8-11
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 276 kB
  • ctags: 40
  • sloc: perl: 433; makefile: 34
file content (13 lines) | stat: -rw-r--r-- 578 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: libhtml-clean-perl/lib/HTML/Clean.pm
===================================================================
--- libhtml-clean-perl.orig/lib/HTML/Clean.pm	2008-03-07 10:46:49.000000000 +0200
+++ libhtml-clean-perl/lib/HTML/Clean.pm	2008-03-07 10:48:37.000000000 +0200
@@ -429,7 +429,7 @@
     $$h =~ s,[\r\n]+,\n,sg; # Carriage/LF -> LF
     $$h =~ s,\s+\n,\n,sg;   # empty line
     $$h =~ s,\n\s+<,\n<,sg; # space before tag
-    $$h =~ s,\n\s+,\n ,sg;  # other spaces
+    $$h =~ s,\n\s+,\n,sg;   # other spaces
 
     $$h =~ s,>\n\s*<,><,sg; # LF/spaces between tags..