mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 11:03:40 +08:00
FIX: removes duplicate “ and adds ‘ and ’ (#11010)
This commit is contained in:
parent
68fc2a18b1
commit
b6492356cb
|
@ -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 + "]",
|
||||
|
|
Loading…
Reference in New Issue
Block a user