Skip to content

Commit

Permalink
Add comment explaining normalize_html oddity
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 14, 2017
1 parent 1e55011 commit 03c6f7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nikola/filters.py
Expand Up @@ -396,4 +396,5 @@ def _normalize_html(data):
return '<!DOCTYPE html>\n' + data


# The function is used in other filters, so the decorator cannot be used directly.
normalize_html = apply_to_text_file(_normalize_html)

0 comments on commit 03c6f7b

Please sign in to comment.