##// END OF EJS Templates
setup: support Bleach 4.2 for Python 3.10 support...
Mads Kiilerich -
r8699:7a4e2c6e stable
parent child Browse files
Show More
@@ -117,7 +117,7 b' class MarkupRenderer(object):'
117 At last it will just do a simple html replacing new lines with <br/>
117 At last it will just do a simple html replacing new lines with <br/>
118
118
119 >>> MarkupRenderer.render('''<img id="a" style="margin-top:-1000px;color:red" src="http://example.com/test.jpg">''', '.md')
119 >>> MarkupRenderer.render('''<img id="a" style="margin-top:-1000px;color:red" src="http://example.com/test.jpg">''', '.md')
120 '<p><img id="a" src="http://example.com/test.jpg" style="color: red;"></p>'
120 '<p><img id="a" src="http://example.com/test.jpg" style=""></p>'
121 >>> MarkupRenderer.render('''<img class="c d" src="file://localhost/test.jpg">''', 'b.mkd')
121 >>> MarkupRenderer.render('''<img class="c d" src="file://localhost/test.jpg">''', 'b.mkd')
122 '<p><img class="c d"></p>'
122 '<p><img class="c d"></p>'
123 >>> MarkupRenderer.render('''<a href="foo">foo</a>''', 'c.mkdn')
123 >>> MarkupRenderer.render('''<a href="foo">foo</a>''', 'c.mkdn')
@@ -66,7 +66,7 b' requirements = ['
66 "mercurial >= 5.2, < 5.9",
66 "mercurial >= 5.2, < 5.9",
67 "decorator >= 4.2.1, < 4.5",
67 "decorator >= 4.2.1, < 4.5",
68 "Paste >= 2.0.3, < 3.5",
68 "Paste >= 2.0.3, < 3.5",
69 "bleach >= 3.0, < 3.1.4",
69 "bleach >= 3.2, < 4.2",
70 "Click >= 7.0, < 8",
70 "Click >= 7.0, < 8",
71 "ipaddr >= 2.2.0, < 2.3",
71 "ipaddr >= 2.2.0, < 2.3",
72 "paginate >= 0.5, < 0.6",
72 "paginate >= 0.5, < 0.6",
General Comments 0
You need to be logged in to leave comments. Login now