diff --git a/plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/discourse-local-dates.js.es6 b/plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/discourse-local-dates.js.es6 index eeb68598980..7105464ba81 100644 --- a/plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/discourse-local-dates.js.es6 +++ b/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 };