Fix replace

This commit is contained in:
Elio Struyf
2023-08-21 11:47:08 +02:00
parent 4cb1019c34
commit 2ee41b9f36
+1 -1
View File
@@ -466,7 +466,7 @@ export class Article {
const data = firstLine
.replace(`<!-- ${SNIPPET.wrapper.start} data:`, '')
.replace(' -->', '')
.replace("'", '"');
.replace(/'/g, '"');
snippetInfo = JSON.parse(data);
}