Add cache inclalidation for Chronological
This commit is contained in:
@@ -72,6 +72,8 @@ class syntax_plugin_luxtools_calendar extends SyntaxPlugin
|
||||
if ($format !== 'xhtml') return false;
|
||||
if (!($renderer instanceof Doku_Renderer_xhtml)) return false;
|
||||
|
||||
$renderer->nocache();
|
||||
|
||||
if (!($data['ok'] ?? false)) {
|
||||
$message = (string)$this->getLang((string)($data['error'] ?? 'calendar_err_badmonth'));
|
||||
if ($message === '') $message = 'Invalid calendar month. Use YYYY-MM.';
|
||||
|
||||
Reference in New Issue
Block a user