Changeset 82501 in spip-zone


Ignore:
Timestamp:
May 17, 2014, 10:24:41 AM (5 years ago)
Author:
cedric@…
Message:

bugfix escaping of char

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/markdown/branches/v0.12.0/markdown_options.php

    r82500 r82501  
    5050                $texte = echappe_html($texte,'md',true,',`.*`,Uims');
    5151        }
     52
     53        // escaping
     54        if (strpos($texte,"\\")!==false){
     55                $texte = echappe_html($texte,'md',true,',\\\\[\\`*_{}\[\]\(\)>+.!-],Uims');
     56        }
     57
    5258        return $texte;
    5359}
Note: See TracChangeset for help on using the changeset viewer.