Browse files

Fixed a bug in rstblog

  • Loading branch information...
1 parent dd3bd4c commit 4c4fc7d923ddb4620bf90658ced5c695db77dc5d @mitsuhiko mitsuhiko committed Feb 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 rstblog/builder.py
View
2 rstblog/builder.py
@@ -129,7 +129,7 @@ def render_rst(self, contents):
writer_name='html4css1',
settings_overrides=settings)
return {
- 'title': parts['title'],
+ 'title': Markup(parts['title']).striptags(),
'html_title': Markup(parts['html_title']),
'fragment': Markup(parts['fragment'])
}

0 comments on commit 4c4fc7d

Please sign in to comment.