CMD + K

markupsafe

Community

Safely add untrusted strings to HTML/XML markup.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::markupsafe

Usage Tracking

3.0.3
3.0.2
3.0.1
3.0.0
2.1.5
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

MarkupSafe implements a text object that escapes characters so it is safe to use in HTML and XML. Characters that have special meanings are replaced so that they display as the actual characters. This mitigates injection attacks, meaning untrusted user input can safely be displayed on a page.

About

Summary

Safely add untrusted strings to HTML/XML markup.

Last Updated

Sep 28, 2025 at 10:28

License

BSD-3-Clause

Total Downloads

66.1M

Supported Platforms

linux-aarch64
linux-ppc64le
win-64
macOS-arm64
macOS-64
linux-64
noarch

Unsupported Platforms

win-32 Last supported version: 1.0