37c091abe5
gros nettoyage et inclusion de perso.css
23 lines
388 B
PHP
Executable File
23 lines
388 B
PHP
Executable File
<?php
|
|
/**
|
|
* Utilisations de pipelines par baz_april
|
|
*
|
|
* @plugin baz_april
|
|
* @copyright 2019
|
|
* @author Nicolas Dorigny
|
|
* @licence GNU/GPL
|
|
* @package SPIP\baz_april\Pipelines
|
|
*/
|
|
|
|
if (!defined('_ECRIRE_INC_VERSION')) {
|
|
return;
|
|
}
|
|
|
|
|
|
function baz_april_pre_typo($texte) {
|
|
// belles puces
|
|
$texte = preg_replace('/^-\s?(?!\*|#|-)/m', '-* ', $texte);
|
|
|
|
return $texte;
|
|
}
|