Skip to content

Commit e19661c

Browse files
committedSep 13, 2015
duh
1 parent f090140 commit e19661c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/filters.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def jsminify(data):
310310
def _normalize_html(data):
311311
"""Pass HTML through LXML to clean it up, if possible."""
312312
try:
313-
data = lxml.html.tostring(lxml.html.fragment_fromstring(data), encoding='unicode')
313+
data = lxml.html.tostring(lxml.html.fromstring(data), encoding='unicode')
314314
except:
315315
pass
316316
return data

0 commit comments

Comments
 (0)
Please sign in to comment.