mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:14:12 +08:00
FIX: do not cook local date without attributes
This commit is contained in:
@ -69,7 +69,7 @@ export function setup(helper) {
|
||||
|
||||
helper.registerPlugin(md => {
|
||||
const rule = {
|
||||
matcher: /\[date(.*?)\]/,
|
||||
matcher: /\[date(.+?)\]/,
|
||||
onMatch: addLocalDate
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user