Changeset 93023 in spip-zone


Ignore:
Timestamp:
Nov 20, 2015, 1:49:50 PM (4 years ago)
Author:
cedric@…
Message:

nettoyer le doctype dans la version texte

Location:
_plugins_/newsletters/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/newsletters/trunk/inc/newsletters.php

    r70679 r93023  
    7575        $html = preg_replace(",</(td|th)>,Uims","<br/>",$html);
    7676        $html = preg_replace(",</(table)>,Uims","@@@hr@@@",$html);
    77         $html = preg_replace(",</?(html|body|table|td|th|tbody|thead|center|article|section|span)[^>]*>,Uims","\n\n",$html);
     77        $html = preg_replace(",</?(!doctype|html|body|table|td|th|tbody|thead|center|article|section|span)[^>]*>,Uims","\n\n",$html);
    7878        $html = preg_replace(",<!--.*-->,Uims","\n",$html);
    7979        $html = preg_replace(",<(/?)(div|tr|caption)([^>]*>),Uims","<\\1p>",$html);
  • _plugins_/newsletters/trunk/paquet.xml

    r93022 r93023  
    22        prefix="newsletters"
    33        categorie="communication"
    4         version="1.3.13"
     4        version="1.3.14"
    55        etat="stable"
    66        compatibilite="[3.0.5;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.