Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Update sanitize.py
Browse files Browse the repository at this point in the history
WARNING Data ignored due to validation error : err 11 Element type "aside" must be declared.
  • Loading branch information
foxmask committed Nov 30, 2017
1 parent 8b2576d commit 7e3aea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion th_evernote/sanitize.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def remove_prohibited_elements(document_element):
"ilayer", "input", "isindex", "label", "layer", "legend", "link",
"marquee", "menu", "meta", "noframes", "noscript", "object",
"optgroup", "option", "param", "plaintext", "script", "select",
"style", "textarea", "xml", 'wbr', 'figure', 'canvas']
"style", "textarea", "xml", 'wbr', 'figure', 'canvas', 'aside']
for tag_name in prohibited_tag_names:
remove_prohibited_element(tag_name, document_element)

Expand Down

0 comments on commit 7e3aea7

Please sign in to comment.