Changeset 43692 in spip-zone


Ignore:
Timestamp:
Jan 20, 2011, 8:47:02 AM (10 years ago)
Author:
cedric@…
Message:

actualiser le test sur inserer_attribut qui echappe le guillemet simple en '

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/tests/filtres/inserer_attribut.php

    r35885 r43692  
    176176  16 =>
    177177  array (
    178     0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &#38;&lt;&gt;&quot;&#39;\'>SPIP</a>',
     178    0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &#38;&lt;&gt;&quot;&#039;\'>SPIP</a>',
    179179    1 => '<a href=\'http://www.spip.net\'>SPIP</a>',
    180180    2 => 'title',
     
    185185  17 =>
    186186  array (
    187     0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &#38;&lt;&gt;&quot;&#39;\'>SPIP</a>',
     187    0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &#38;&lt;&gt;&quot;&#039;\'>SPIP</a>',
    188188    1 => '<a href=\'http://www.spip.net\'>SPIP</a>',
    189189    2 => 'title',
     
    194194  18 =>
    195195  array (
    196     0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &<>"&#39;\'>SPIP</a>',
     196    0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &<>"&#039;\'>SPIP</a>',
    197197    1 => '<a href=\'http://www.spip.net\'>SPIP</a>',
    198198    2 => 'title',
     
    203203  19 =>
    204204  array (
    205     0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &<>"&#39;\'>SPIP</a>',
     205    0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &<>"&#039;\'>SPIP</a>',
    206206    1 => '<a href=\'http://www.spip.net\'>SPIP</a>',
    207207    2 => 'title',
     
    484484  48 =>
    485485  array (
    486     0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &#38;&lt;&gt;&quot;&#39;\'>SPIP</a>',
     486    0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &#38;&lt;&gt;&quot;&#039;\'>SPIP</a>',
    487487    1 => '<a href=\'http://www.spip.net\' title=\'Simplement\'>SPIP</a>',
    488488    2 => 'title',
     
    493493  49 =>
    494494  array (
    495     0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &#38;&lt;&gt;&quot;&#39;\'>SPIP</a>',
     495    0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &#38;&lt;&gt;&quot;&#039;\'>SPIP</a>',
    496496    1 => '<a href=\'http://www.spip.net\' title=\'Simplement\'>SPIP</a>',
    497497    2 => 'title',
     
    502502  50 =>
    503503  array (
    504     0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &<>"&#39;\'>SPIP</a>',
     504    0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &<>"&#039;\'>SPIP</a>',
    505505    1 => '<a href=\'http://www.spip.net\' title=\'Simplement\'>SPIP</a>',
    506506    2 => 'title',
     
    511511  51 =>
    512512  array (
    513     0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &<>"&#39;\'>SPIP</a>',
     513    0 => '<a href=\'http://www.spip.net\' title=\'Un texte sans entites &<>"&#039;\'>SPIP</a>',
    514514    1 => '<a href=\'http://www.spip.net\' title=\'Simplement\'>SPIP</a>',
    515515    2 => 'title',
     
    792792  80 =>
    793793  array (
    794     0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &#38;&lt;&gt;&quot;&#39;\' /></a>',
     794    0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &#38;&lt;&gt;&quot;&#039;\' /></a>',
    795795    1 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' /></a>',
    796796    2 => 'alt',
     
    801801  81 =>
    802802  array (
    803     0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &#38;&lt;&gt;&quot;&#39;\' /></a>',
     803    0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &#38;&lt;&gt;&quot;&#039;\' /></a>',
    804804    1 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' /></a>',
    805805    2 => 'alt',
     
    810810  82 =>
    811811  array (
    812     0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &<>"&#39;\' /></a>',
     812    0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &<>"&#039;\' /></a>',
    813813    1 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' /></a>',
    814814    2 => 'alt',
     
    819819  83 =>
    820820  array (
    821     0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &<>"&#39;\' /></a>',
     821    0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &<>"&#039;\' /></a>',
    822822    1 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' /></a>',
    823823    2 => 'alt',
     
    11001100  112 =>
    11011101  array (
    1102     0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &#38;&lt;&gt;&quot;&#39;\' /></a>',
     1102    0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &#38;&lt;&gt;&quot;&#039;\' /></a>',
    11031103    1 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'SPIP\' /></a>',
    11041104    2 => 'alt',
     
    11091109  113 =>
    11101110  array (
    1111     0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &#38;&lt;&gt;&quot;&#39;\' /></a>',
     1111    0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &#38;&lt;&gt;&quot;&#039;\' /></a>',
    11121112    1 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'SPIP\' /></a>',
    11131113    2 => 'alt',
     
    11181118  114 =>
    11191119  array (
    1120     0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &<>"&#39;\' /></a>',
     1120    0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &<>"&#039;\' /></a>',
    11211121    1 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'SPIP\' /></a>',
    11221122    2 => 'alt',
     
    11271127  115 =>
    11281128  array (
    1129     0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &<>"&#39;\' /></a>',
     1129    0 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'Un texte sans entites &<>"&#039;\' /></a>',
    11301130    1 => '<a href=\'http://www.spip.net\'><img src=\'http://www.spip.net/squelettes/img/spip.png\' alt=\'SPIP\' /></a>',
    11311131    2 => 'alt',
Note: See TracChangeset for help on using the changeset viewer.