Changeset 84613 in spip-zone


Ignore:
Timestamp:
Sep 14, 2014, 7:39:27 PM (5 years ago)
Author:
cedric@…
Message:

mise a jour du test : simple \n apres un <p></p>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/tests/unit/propre/traiter_raccourcis.php

    r80727 r84613  
    5858
    5959
    60 if (!preg_match($c = ",<p\b.*?>titi</p>\n\n<p\b.*?>toto</p>,",
     60if (!preg_match($c = ",<p\b.*?>titi</p>\n<p\b.*?>toto</p>,",
    6161$b = propre( $a = "titi\n\ntoto")))
    6262        $err[] = htmlentities ("$a -- $b -- $c");
    6363
    64 if (!preg_match(",<p\b.*?>titi</p>\n\n<p\b.*?>toto<br /></p>,",
     64if (!preg_match(",<p\b.*?>titi</p>\n<p\b.*?>toto<br /></p>,",
    6565propre("titi\n\n<br />toto<br />")))
    6666        $err[] = 'erreur 2';
Note: See TracChangeset for help on using the changeset viewer.