Changeset 98836 in spip-zone


Ignore:
Timestamp:
Jul 11, 2016, 5:05:36 PM (4 years ago)
Author:
brunobergot@…
Message:

version 1.0.3 : maj de la lib bigfoot

Fixe un bug quand une apostrophe est présente dans un attribut html dans le contenu de la note cf http://contrib.spip.net/bigfoot#forum488210

Location:
_plugins_/bigfoot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/bigfoot/javascript/bigfoot.js

    r90273 r98836  
    6161        for (i = _i = 0, _ref = footnotes.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) {
    6262          footnoteContent = removeBackLinks($(footnotes[i]).html().trim(), $(finalFNLinks[i]).data("footnote-backlink-ref"));
    63           footnoteContent = footnoteContent.replace(/"/g, "&quot;").replace(/&lt;/g, "&ltsym;").replace(/&gt;/g, "&gtsym;");
     63          footnoteContent = footnoteContent.replace(/"/g, "&quot;").replace(/&lt;/g, "&ltsym;").replace(/&gt;/g, "&gtsym;").replace(/'/g, "&apos;");
    6464          footnoteIDNum += 1;
    6565          footnoteButton = "";
  • _plugins_/bigfoot/paquet.xml

    r96865 r98836  
    22        prefix="bigfoot"
    33        categorie="divers"
    4         version="1.0.2"
     4        version="1.0.3"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.