BeautifulSoup is HTML escaping strings which have escaped characters
BeautifulSoup is HTML escaping strings which have escaped characters Question: I am reading a string from file: a = ‘<script>closedSign: ‘<img src=”/static/images/drop-down.png” style=”margin-top: -3px;” />'</script>’ Now, when I run BeautifulSoup(a) <script>closedSign: ‘<img src=”/static/images/drop-down.png” style=”margin-top: -3px;” />'</script> Thus, <img is being HTML escaped into <img How can I avoid this? Asked By: Jamal || Source Answers: …
Total answers: 3