mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 21:26:00 +08:00
FIX: stricter matching on local-dates (#7023)
This commit is contained in:
parent
08ae73f868
commit
c08b2ddecf
2
plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/discourse-local-dates.js.es6
2
plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/discourse-local-dates.js.es6
@ -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