mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FIX: email preview content not updated in second local date
This commit is contained in:
@ -33,10 +33,7 @@ function addLocalDate(buffer, matches, state) {
|
||||
];
|
||||
|
||||
if (config.time) {
|
||||
token.attrs.push([
|
||||
"data-time",
|
||||
state.md.utils.escapeHtml(config.time)
|
||||
]);
|
||||
token.attrs.push(["data-time", state.md.utils.escapeHtml(config.time)]);
|
||||
}
|
||||
|
||||
let dateTime;
|
||||
|
Reference in New Issue
Block a user