pre_typo

The pre_typo pipeline is used to modify the text before the typographical processes envisaged by SPIP are executed. It is called by the corriger_typo() function in ecrire/inc/texte.php, a function which is itself called when using the propre() or typo() functions.

$letexte= pipeline('pre_typo',$letexte);

The modifications proposed must only apply processes to the elements that can be displayed on a single (inline) line. For processes that modify or create blocks or paragraphs, you must use the pre_propre pipeline.