by nousermane · 3y ago · 0 comments
import html
print(html.unescape(foo))
And the best part - you don't need to debug/update the (g)sub list every time you stumble upon new weird &whatever; too. And there are a lot of those out there:https://www.reddit.com/r/LineageOS/comments/gzm7to/wifi_pass...