Module tenlib.transform.html
Functions
def encode(data: str) ‑> str-
Encodes HTML entities.
b'ABC&DEF'->'ABC&DEF' def decode(data: str) ‑> str-
Decodes HTML entities.
b'ABC&DEF GHI'->'ABC&DEF GHI' def encode_all(data: bytes) ‑> strdef encode_all_dec(data: bytes) ‑> strdef read(data: str) ‑> str-
Decodes HTML entities.
b'ABC&DEF GHI'->'ABC&DEF GHI' def write(data: str) ‑> str-
Encodes HTML entities.
b'ABC&DEF'->'ABC&DEF'