You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
744 B

<?php
// Sécurité
if (!defined('_ECRIRE_INC_VERSION')) {return;}
$GLOBALS['z_blocs'] = array('content', 'head', 'head_js', 'header', 'footer');
if (!isset($GLOBALS['spip_pipeline']['affichage_final'])) {
$GLOBALS['spip_pipeline']['affichage_final'] = '';
}
$GLOBALS['spip_pipeline']['affichage_final'] .= '|tinytypo';
function tinytypo($texte) {
$texte = str_replace('hr class="spip"', 'hr', $texte);
$texte = str_replace('spip_out', 'external', $texte);
$texte = str_replace('spip_url', 'external', $texte);
$texte = str_replace('spip_mail', 'mailto', $texte);
$texte = str_replace('blockquote class="spip"', 'blockquote', $texte);
$texte = str_replace('<table class="spip', '<table class="table spip', $texte);
return $texte;
}