CodeQL library for Python
codeql/python-all 0.12.0 (changelog, source)
Search

Module MarkupSafeModel::Markup

Provides models for the markupsafe.Markup class

See https://markupsafe.palletsprojects.com/en/2.0.x/escaping/#markupsafe.Markup.

Import path

import semmle.python.frameworks.MarkupSafe

Predicates

classRef

Gets a reference to the markupsafe.Markup class.

instance

Gets a reference to an instance of markupsafe.Markup.

Classes

InstanceSource

A source of instances of markupsafe.Markup, extend this class to model new instances.

PercentStringFormat

A %-style string format with markupsafe.Markup as the format string.

StringConcat

A string concatenation with a markupsafe.Markup involved.

StringFormat

A string format with markupsafe.Markup as the format string.