varia.website/venv/lib/python3.11/site-packages/markdown_it/common/entities.py

5 lines
156 B
Python
Raw Normal View History

2024-11-19 14:01:39 +01:00
"""HTML5 entities map: { name -> characters }."""
import html.entities
entities = {name.rstrip(";"): chars for name, chars in html.entities.html5.items()}