Add some more unicode constants and rename thin non-breaking space variable

This commit is contained in:
Veronica K. B. Olsen
2021-01-13 23:52:09 +01:00
parent 5f17b28e05
commit f6b7a35c81
5 changed files with 13 additions and 9 deletions
+7 -3
View File
@@ -241,7 +241,7 @@ class nwQuotes():
# END Class nwQuotes
class nwUnicode:
"""Supported unicode character constants and translation maps for HTML.
"""Supported unicode character constants and their HTML equivalents.
"""
# Unicode Constants
@@ -276,8 +276,10 @@ class nwUnicode:
## Spaces and Lines
U_NBSP = "\u00a0" # Non-breaking space
U_THNSP = "\u2009" # Thin space
U_THSP = "\u2009" # Thin space
U_THNBSP = "\u202f" # Thin non-breaking space
U_ENSP = "\u2002" # Short (en) space
U_EMSP = "\u2003" # Long (em) space
U_LSEP = "\u2028" # Line separator
U_PSEP = "\u2029" # Paragraph separator
@@ -328,8 +330,10 @@ class nwUnicode:
## Spaces
H_NBSP = " "
H_THNSP = " "
H_THSP = " "
H_THNBSP = " "
H_ENSP = " "
H_EMSP = " "
## Symbols
H_CHECK = "✔"