A collection of helper functions for sanitizing text.
hltflow.sanitize.
sanitize_for_latex
Sanitzes text for use within LaTeX. Escapes LaTeX special characters in order to prevent errors.
sanitize_prefix
Sanitizes a prefix to be used for TiKz coordinates. Allowed characters are lower case ASCII letters, digits and the hyphen.