FICHA · MANJARO

python-markupsafe

Implements a XML/HTML/XHTML Markup safe string for Python

  • Library
  • Dev
  • Web
  • SECURITY
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Provides safe string handling for XML, HTML, and XHTML markup in Python templates and web tools. It helps libraries distinguish trusted markup from ordinary text that should be escaped.

This is a building block for safer rendering, not a complete sanitizer. Applications still need correct escaping rules and should not mark untrusted user input as safe.

Permissions

Permissions not analysed for this source yet.