File: entities.py

package info (click to toggle)
markdown-it-py 3.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,780 kB
  • sloc: python: 5,214; xml: 39; sh: 29; makefile: 24
file content (4 lines) | stat: -rw-r--r-- 156 bytes parent folder | download | duplicates (9)
1
2
3
4
"""HTML5 entities map: { name -> characters }."""
import html.entities

entities = {name.rstrip(";"): chars for name, chars in html.entities.html5.items()}