[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins / enluminures_typographiques_v3 / typoenluminee.php
index 68f8788..92b41d1 100644 (file)
@@ -163,9 +163,9 @@ function typoenluminee_post_propre($texte) {
                $cherche1[] = /* 21b */ '/\[\*/S';
                $cherche1[] = /* 22 */  '/\*\]/S';
 
-               $remplace1[] = /* 15 */         '<div class="spip" style="text-align:right;">$1</div>';
-               $remplace1[] = /* 16 */         '<div class="spip" style="text-align:left;">$1</div>';
-               $remplace1[] = /* 17 */         '<div class="spip" style="text-align:center;">$1</div>';
+               $remplace1[] = /* 15 */         '<div class="spip spip-block-right" style="text-align:right;">$1</div>';
+               $remplace1[] = /* 16 */         '<div class="spip spip-block-left" style="text-align:left;">$1</div>';
+               $remplace1[] = /* 17 */         '<div class="spip spip-block-center" style="text-align:center;">$1</div>';
                $remplace1[] = /* 19 */         '<div class="texteencadre-spip spip">$1</div>';
                $remplace1[] = /* 21 */         '<strong class="caractencadre2-spip spip">';
                $remplace1[] = /* 21b */        '<strong class="caractencadre-spip spip">';
@@ -280,7 +280,7 @@ function typoenluminee_post_typo($texte) {
        $texte = str_replace('&', '&amp;', $texte);
        $texte = preg_replace('/@@@amp:([A-Za-z#0-9]*):amp@@@/', '&\1;', $texte);
        // Raccourci typographique <sc></sc>
-       $texte = str_replace('<sc>', '<span class="caps">', $texte);
+       $texte = str_replace('<sc>', '<span class="smallcaps">', $texte);
        $texte = str_replace('</sc>', '</span>', $texte);
        $texte = acronymes_traiter_raccourcis($texte);
        return $texte;