Module crowbook_text_processing::escape [] [src]

Functions

escape_html

Escape characters <, >, and &

escape_nb_spaces

Escape non breaking spaces for HTML, so there is no problem for displaying them if the font or browser doesn't know what to do with them (particularly the narrow non breaking space which isn't very well supported).

escape_nb_spaces_tex

Escape non breaking spaces for LaTeX, replacing them with ~.

escape_quotes

Escape quotes

escape_tex

Escape characters for LaTeX