We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c1fb31 commit 2dfd5acCopy full SHA for 2dfd5ac
1 file changed
tests/test_autolink.txt
@@ -1,7 +1,7 @@
1
This tests autolink::
2
3
>>> from lxml.html import usedoctest
4
- >>> from lxml.html.clean import autolink_html
+ >>> from lxml_html_clean import autolink_html
5
>>> print(autolink_html('''
6
... <div>Link here: http://test.com/foo.html.</div>
7
... '''))
@@ -56,7 +56,7 @@ Some cases that won't be caught (on purpose)::
56
There's also a word wrapping function, that should probably be run
57
after autolink::
58
59
- >>> from lxml.html.clean import word_break_html
+ >>> from lxml_html_clean import word_break_html
60
>>> def pascii(s):
61
... print(s.encode('ascii', 'xmlcharrefreplace').decode('ascii'))
62
>>> pascii(word_break_html( u'''
0 commit comments