mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-01 19:34:24 +02:00
Remove webnovel.com manual escaping of HTML entities, the website now seems to take care of it (#224)
This commit is contained in:
parent
4d36f24d37
commit
715de7549a
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue