diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-08 23:19:42 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-05-08 23:19:42 -0400 |
commit | 675118869f07a78ffe380b2b925ca30ab050fc98 (patch) | |
tree | a1d2b712d3cb9ec3d06d0c4c2bc3ae43a801cac6 /askbot/views | |
parent | a676a86b6b7a5737d4da4f59f71e037406f88d29 (diff) | |
download | askbot-675118869f07a78ffe380b2b925ca30ab050fc98.tar.gz askbot-675118869f07a78ffe380b2b925ca30ab050fc98.tar.bz2 askbot-675118869f07a78ffe380b2b925ca30ab050fc98.zip |
require html5lib for bs4 for better compatibility with apache
Diffstat (limited to 'askbot/views')
-rw-r--r-- | askbot/views/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/views/commands.py b/askbot/views/commands.py index dee8d1e4..b2c8a788 100644 --- a/askbot/views/commands.py +++ b/askbot/views/commands.py @@ -1489,7 +1489,7 @@ def get_editor(request): ) #parse out javascript and dom, and return them separately #we need that, because js needs to be added in a special way - html_soup = BeautifulSoup(editor_html) + html_soup = BeautifulSoup(editor_html, 'html5lib') parsed_scripts = list() for script in html_soup.find_all('script'): |