Changeset 27051 in spip-zone


Ignore:
Timestamp:
Mar 4, 2009, 6:51:40 PM (11 years ago)
Author:
maieulrouquette@…
Message:

faisons les choses biens ... grace à vider_attribut

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/spip-bible/traduction/gateway.php

    r27050 r27051  
    119119                $i++;
    120120                }
    121        
    122          return eregi_replace('\[[a-z]*\]','',str_replace(' <br />&nbsp;&nbsp;  <br />','<br />',str_replace('<br /><br /><strong>','<br /><strong>',str_replace('<br />&nbsp;','<br />',str_replace('</strong> <br />&nbsp;','</strong>',$texte)))));
     121        $texte = vider_attribut(vider_attribut($texte,'class'),'value');
     122         return eregi_replace('<sup>\[[a-z]*\]</sup>','',str_replace(' <br />&nbsp;&nbsp;  <br />','<br />',str_replace('<br /><br /><strong>','<br /><strong>',str_replace('<br />&nbsp;','<br />',str_replace('</strong> <br />&nbsp;','</strong>',$texte)))));
    123123       
    124124}
Note: See TracChangeset for help on using the changeset viewer.