markupsafe: Safely add untrusted strings to HTML/XML markup - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# markupsafe: Safely add untrusted strings to HTML/XML markup

## Description

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

## License

BSD-3-Clause

## Upstream Contact

https://pypi.org/project/MarkupSafe/

## Type

standard

## Dependencies

- $(PYTHON)

- $(PYTHON_TOOLCHAIN)

## Version Information

package-version.txt:

    2.1.5

version_requirements.txt:

    markupsafe >=2.0

## Equivalent System Packages

conda-forge

    $ conda install markupsafe

Fedora/Redhat/CentOS

    $ sudo dnf install python3-markupsafe

Gentoo Linux

    $ sudo emerge dev-python/markupsafe

MacPorts

    $ sudo port install py-markupsafe

openSUSE

    $ sudo zypper install python3\$\{PYTHON_MINOR\}-MarkupSafe

Void Linux

    $ sudo xbps-install python3-MarkupSafe

See https://repology.org/project/python:markupsafe/versions

If the system package is installed and if the (experimental) option `--enable-system-site-packages` is passed to `./configure`, then `./configure` will check if the system package can be used.