FIX: converts “ and ” to " in local dates (#10987)

This commit is contained in:
Joffrey JAFFEUX
2020-10-21 17:16:36 +02:00
committed by GitHub
parent f4842ae283
commit 6811902a70
2 changed files with 13 additions and 4 deletions

View File

@ -13,7 +13,7 @@ function addLocalDate(buffer, matches, state) {
countdown: null,
};
const matchString = matches[1].replace(/„|“|«|»/g, '"');
const matchString = matches[1].replace(/„|“|«|»|“|”/g, '"');
let parsed = parseBBCodeTag(
"[date date" + matchString + "]",