This commit is contained in:
2020-04-23 23:49:37 +00:00
parent 6ae161f67f
commit c8c7740f89

View File

@@ -405,7 +405,7 @@ export default {
return "";
}
//replace attachment urls with tokenized local urls
let src = this.localVal.replace(/\[ATTACH:(.*)\]/, function(match, p1) {
let src = this.localVal.replace(/\[ATTACH:(.*)\]/g, function(match, p1) {
return window.$gz.api.downloadUrl(p1);
});