diff --git a/kallithea/lib/markup_renderer.py b/kallithea/lib/markup_renderer.py
--- a/kallithea/lib/markup_renderer.py
+++ b/kallithea/lib/markup_renderer.py
@@ -117,7 +117,7 @@ class MarkupRenderer(object):
At last it will just do a simple html replacing new lines with
>>> MarkupRenderer.render('''''', '.md')
- '
'
+ ''
>>> MarkupRenderer.render('''''', 'b.mkd')
''
>>> MarkupRenderer.render('''foo''', 'c.mkdn')
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -66,7 +66,7 @@ requirements = [
"mercurial >= 5.2, < 5.9",
"decorator >= 4.2.1, < 4.5",
"Paste >= 2.0.3, < 3.5",
- "bleach >= 3.0, < 3.1.4",
+ "bleach >= 3.2, < 4.2",
"Click >= 7.0, < 8",
"ipaddr >= 2.2.0, < 2.3",
"paginate >= 0.5, < 0.6",