mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 02:51:14 +08:00
FIX: attempts to convert french quotes to regular quotes in dates (#10986)
This commit is contained in:
@ -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 + "]",
|
||||
|
Reference in New Issue
Block a user