Remove webnovel.com manual escaping of HTML entities, the website now seems to take care of it (#224)

This commit is contained in:
Chris Braun 2017-08-30 17:22:45 +02:00 committed by Jim Miller
parent 4d36f24d37
commit 715de7549a

View file

@ -22,7 +22,6 @@ import logging
import re
import time
import urllib2
import cgi
from datetime import datetime, timedelta
@ -213,5 +212,5 @@ class WWWWebNovelComAdapter(BaseSiteAdapter):
# Turn raw chapter text into HTML
# Not sure if escaping quotes is actually useful, but rather do it than not
content = cgi.escape(content, quote=True).replace('\r', '').replace('\n', '<br />')
content = content.replace('\r', '').replace('\n', '<br />')
return content