mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 12:40:40 +08:00
Fix lint.
This commit is contained in:
parent
4b3c2490c3
commit
53d34c69fc
|
@ -29,13 +29,14 @@ function addLocalDate(buffer, matches, state) {
|
||||||
["data-date", state.md.utils.escapeHtml(config.date)],
|
["data-date", state.md.utils.escapeHtml(config.date)],
|
||||||
["data-time", state.md.utils.escapeHtml(config.time)],
|
["data-time", state.md.utils.escapeHtml(config.time)],
|
||||||
["data-format", state.md.utils.escapeHtml(config.format)],
|
["data-format", state.md.utils.escapeHtml(config.format)],
|
||||||
["data-timezones", state.md.utils.escapeHtml(config.timezones)],
|
["data-timezones", state.md.utils.escapeHtml(config.timezones)]
|
||||||
];
|
];
|
||||||
|
|
||||||
if (config.forceTimezone) {
|
if (config.forceTimezone) {
|
||||||
token.attrs.push(
|
token.attrs.push([
|
||||||
["data-force-timezone", state.md.utils.escapeHtml(config.forceTimezone)]
|
"data-force-timezone",
|
||||||
);
|
state.md.utils.escapeHtml(config.forceTimezone)
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.recurring) {
|
if (config.recurring) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user