mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: removes duplicate “ and adds ‘ and ’ (#11010)
This commit is contained in:
parent
68fc2a18b1
commit
b6492356cb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue