Merge branch 'wip-MDL-47583-m26' of git://github.com/marinaglancy/moodle into MOODLE_26_STABLE

This commit is contained in:
Damyon Wiese
2014-10-15 13:51:09 +08:00
@@ -83,7 +83,7 @@
patt = new RegExp(base.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&') + "(.+?)[\\?\"']", 'gm'),
arr = [], match, filename;
while ((match = patt.exec(text)) !== null) {
filename = unescape(match[1]);
filename = decodeURI(match[1]);
if (arr.indexOf(filename) === -1) {
arr[arr.length] = filename;
}