Added a function to escape html text
Moved the cleaner functions to app/utils/escaper.py Fixes Removed unused import 're' Moved the cleaner functionalities to the "search.py" and "routes.py" Making sure escaped chars stay escaped during process Replaced "<" and ">" with "andlt;" and "andgt;", respectively. This way, when the 'response' object get loaded to bsoup (which happens several times throughout the process between search.py and routes.py), bsoup will not unescape them.pull/912/head
parent
7041b43db9
commit
50da4b6d97
Loading…
Reference in New Issue