FIX: attempts to convert french quotes to regular quotes in dates (#10986)

This commit is contained in:
Joffrey JAFFEUX
2020-10-21 16:36:51 +02:00
committed by GitHub
parent a8d03e428d
commit f4842ae283
2 changed files with 10 additions and 1 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 + "]",