Navigation Menu

Skip to content

Commit

Permalink
Expected 2 blank lines, found 1
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 8, 2016
1 parent dff7d20 commit 1f9787d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nikola/plugins/template/mako.py
Expand Up @@ -138,6 +138,7 @@ def get_template_path(self, template_name):
except exceptions.TopLevelLookupException:
return None


def striphtml(text):
"""Strip HTML tags from text."""
return Markup(text).striptags()

0 comments on commit 1f9787d

Please sign in to comment.