Changeset 106783 in spip-zone


Ignore:
Timestamp:
Oct 12, 2017, 11:35:15 AM (2 years ago)
Author:
arnaud.berard@…
Message:

borne spip 3.2 , ajout du target:_blank a safehtml ;-) pour le pied de page de la partie privé

Location:
_plugins_/lazysizes/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/lazysizes/trunk/inc/safehtml.php

    r105733 r106783  
    2525       
    2626       
    27 
     27        // http://htmlpurifier.org/live/configdoc/plain.html
    2828        $config = HTMLPurifier_Config::createDefault();
    2929        $config->set('HTML.Doctype', 'HTML 4.01 Transitional');
    3030        $config->set('CSS.AllowTricky', true);
    3131        $config->set('HTML.Allowed', $allowed);
     32        $config->set('Attr.AllowedFrameTargets', array('_blank'=>true));
     33       
     34        //$config->set('HTML.TargetBlank', true);
     35        //$config->set('HTML.TargetNoopener', true);
    3236        $config->set('Cache.SerializerPath', preg_replace(',/$,', '', realpath(_DIR_TMP)));
    3337        $def = $config->getHTMLDefinition(true);
     
    7781        // http://developers.whatwg.org/text-level-semantics.html
    7882    $def->addElement('s',    'Inline', 'Inline', 'Common');
     83        //$def->addElement('b',    'Inline', 'Inline', 'Common');
    7984    $def->addElement('var',  'Inline', 'Inline', 'Common');
    8085    $def->addElement('sub',  'Inline', 'Inline', 'Common');
  • _plugins_/lazysizes/trunk/paquet.xml

    r105733 r106783  
    22        prefix="lazysizes"
    33        categorie="outil"
    4         version="4.0.0.13"
     4        version="4.0.0.14"
    55        etat="dev"
    6         compatibilite="[3.0.0;3.1.*]"
     6        compatibilite="[3.0.0;3.2.*]"
    77        logo="prive/themes/spip/images/lazysizes-32.png"
    88        documentation="http://afarkas.github.io/lazysizes/"
     
    2020        <pipeline nom="ieconfig_metas" inclure="lazysizes_pipelines.php" />
    2121       
    22         <necessite nom="htmlpurifier" compatibilite="[4.9.2.0;[" />
     22        <necessite nom="htmlpurifier" compatibilite="[4.9.2.0;]" />
    2323        <utilise nom="medias" compatibilite="[2.10.38;]" />
    2424       
Note: See TracChangeset for help on using the changeset viewer.