This commit is contained in:
Ell 2023-08-16 13:34:33 +02:00
parent fa85bd8d93
commit ad6b1a223f
2 changed files with 1 additions and 2 deletions

View file

@ -193,7 +193,7 @@ export default class JustSharePleasePlugin extends Plugin {
// embed attachments directly
let attachments = /!\[(.*)]\((.+)\)|!\[\[(.+)]]/g;
let match;
let match: RegExpExecArray;
while ((match = attachments.exec(text)) != null) {
let alt = match[1] ?? "";
let url = match[2] ?? match[3];

View file

@ -1 +0,0 @@
{}