Normalize Unicode strings. Necessary for text which contains non-ASCII characters.
(text)
| 5 | |
| 6 | |
| 7 | def _normalize(text): |
| 8 | """ |
| 9 | Normalize Unicode strings. Necessary for text which contains non-ASCII characters. |
| 10 | """ |
| 11 | return unicodedata.normalize("NFD", text) |
| 12 | |
| 13 | |
| 14 | def convert_html(text): |
no outgoing calls
no test coverage detected