mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add build test for bleach
This commit is contained in:
parent
5cbd9ef5da
commit
4d6eaedfb4
@ -236,6 +236,8 @@ def test_terminal():
|
|||||||
def test_markdown():
|
def test_markdown():
|
||||||
from calibre.ebooks.markdown import Markdown
|
from calibre.ebooks.markdown import Markdown
|
||||||
Markdown(extensions=['extra'])
|
Markdown(extensions=['extra'])
|
||||||
|
import bleach
|
||||||
|
bleach.clean(u'xxx<script>a</script>')
|
||||||
print('Markdown OK!')
|
print('Markdown OK!')
|
||||||
|
|
||||||
def test():
|
def test():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user