Permalink
Browse files

Add comment explaining normalize_html oddity

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information...
1 parent 1e55011 commit 03c6f7bf3d67ffc0bf2567c5a81e348d0cb14c42 @Kwpolska Kwpolska committed May 14, 2017
Showing with 1 addition and 0 deletions.
  1. +1 −0 nikola/filters.py
View
@@ -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.