Fix tests and force Markdown renderer to escape HTML

This commit is contained in:
Skia
2017-02-24 02:45:37 +01:00
parent daee59f772
commit 11e05050f7
2 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ class SithInlineLexer(InlineLexer):
except: pass
return super(SithInlineLexer, self)._process_link(m, link, title)
renderer = SithRenderer()
renderer = SithRenderer(escape=True)
inline = SithInlineLexer(renderer)
markdown = Markdown(renderer, inline=inline)