diff --git a/util/html.txt b/util/html.txt index 85d8388..cea5772 100644 --- a/util/html.txt +++ b/util/html.txt @@ -18,3 +18,12 @@ $Id$ >>> sanitize(input, ['p', 'b'], ['class']) u'\n

\nText\n

\n' +All comments are stripped from the HTML input. + + >>> input2 = """ + ...

text

+ ... + ...

text

""" + + >>> sanitize(input2) + u'\n

text

\n\n

text

'