Skip to content

Commit

Permalink
allow script embed
Browse files Browse the repository at this point in the history
  • Loading branch information
yong27 committed Sep 2, 2014
1 parent 9251ec1 commit 393dc1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/page_operation_mixin.py
Expand Up @@ -288,6 +288,7 @@ def sanitize_html(rendered):
'docs.google.com'
)
cleaner.forms = False
cleaner.scripts = False
rendered = cleaner.clean_html(rendered)

# remove div wrapper if there is one
Expand Down

0 comments on commit 393dc1f

Please sign in to comment.