summaryrefslogtreecommitdiffstats
path: root/markdown_it/common/entities.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown_it/common/entities.py')
-rw-r--r--markdown_it/common/entities.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/markdown_it/common/entities.py b/markdown_it/common/entities.py
new file mode 100644
index 0000000..6bb2d34
--- /dev/null
+++ b/markdown_it/common/entities.py
@@ -0,0 +1,4 @@
+"""HTML5 entities map: { name -> characters }."""
+import html.entities
+
+entities = {name.rstrip(";"): chars for name, chars in html.entities.html5.items()}