mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 06:25:43 +08:00
FIX: stricter matching on local-dates (#7023)
This commit is contained in:
parent
08ae73f868
commit
c08b2ddecf
@ -143,7 +143,7 @@ export function setup(helper) {
|
||||
|
||||
helper.registerPlugin(md => {
|
||||
const rule = {
|
||||
matcher: /\[date(.+?)\]/,
|
||||
matcher: /\[date(=.+?)\]/,
|
||||
onMatch: addLocalDate
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user