Bug description:
When trying to use html bold styling with tags and saving html to a file then the values for < and > marks are being changed to < and > . I was trying to use escaping to prevent this change but does not work
Expected vs Current Behavior:
tag value ‘Welcome’ is being overriten with tag.replace_with(‘Welcome’)
the returned result is <b>Wel</b>come after writing to html file
Steps to reproduce:
overwrite value of a string with styling save it to the file and verify the in the browser
Bug appears at this link: https://replit.com/@RafalKlimuntows/madeforsteel#scraper_gpt.py
Screenshot(s)/Screen Recording:
Browser/OS/Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Replit Profile: https://replit.com/@RafalKlimuntows