cleanup spaces around ; for params
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 16 Aug 2010 15:26:34 +0000 (17:26 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 16 Aug 2010 15:26:34 +0000 (17:26 +0200)
docs/parse-html.pl

index 0883cfc..36a23b9 100755 (executable)
@@ -10,6 +10,7 @@ sub strip_html {
        $t =~ s{&nbsp;}{ }gs;
        $t =~ s{(<br>|\n)+}{}gs;
        $t =~ s{\s+$}{}gs;
+       $t =~ s{\s*;\s*}{;}gs;
        return $t;
 }