EmergingEzhttp.html_unescape: def of emerging-ezhttp@0.21.0.0
Import: import emerging-ezhttp@0.21.0.0/main.bend as EmergingEzhttp
Lines 186-191 of emerging-ezhttp@0.21.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/main.bend&start_line=186&end_line=191
import Base
import emerging-ezhttp@0.21.0.0/src/unescape.bend as Unescape
# HTML character references back to characters, as Python's html.unescape:
# decimal and hex numeric references (with the HTML Standard's replacements)
# and the HTML Standard's 2231 named references, the legacy ones also without
# `;`; anything that is not a reference is kept as written (SPEC.md HTTP-REF)
def html_unescape(text: String) -> String: # noqa: L001 re-export of Unescape.unescape
Unescape.unescape(text)
Uses (2):
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String
https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/unescape.bend&name=unescape