Oct-29-2023, 02:36 PM
With stdlib from Python:
import html s = "<strong>Clamps P&S Black 100</strong>" text = html.unescape(s) print(text)
Output:<strong>Clamps P&S Black 100</strong>
But BeautifulSoup does it already. You should use this 3rd party library.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!