FIX: removes duplicate “ and adds ‘ and ’ (#11010)

This commit is contained in:
Joffrey JAFFEUX 2020-10-23 10:35:43 +02:00 committed by GitHub
parent 68fc2a18b1
commit b6492356cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 + "]",