diff options
Diffstat (limited to 'askbot/views/commands.py')
-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'): |