diff options
author | benadha <benawiadha@gmail.com> | 2022-01-07 07:04:33 +0700 |
---|---|---|
committer | benadha <benawiadha@gmail.com> | 2022-01-07 07:04:33 +0700 |
commit | cd3d7d0814f579116c4593d67fa6fe6beda23994 (patch) | |
tree | 44faeaaa96408e1f002cc6158295b5426ef4baca /epy.py | |
parent | f5b6200d7785d847784380f6cf292d4854b74561 (diff) | |
download | epy-cd3d7d0814f579116c4593d67fa6fe6beda23994.tar.gz |
Add (sup|sub)script lookup table
Diffstat (limited to 'epy.py')
-rwxr-xr-x | epy.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -801,6 +801,8 @@ class HTMLtoLines(HTMLParser): ital = {"i", "em"} bold = {"b", "strong"} # hide = {"script", "style", "head", ", "sub} + sup_lookup = "⁰¹²³⁴⁵⁶⁷⁸⁹" + sub_lookup = "₀₁₂₃₄₅₆₇₈₉" attr_bold = curses.A_BOLD try: |