Commit 7b921a4f authored by Administrator's avatar Administrator 💬

Hack Grav.

It's okay, PR is on the way.
parent d708fb8e
......@@ -47,7 +47,10 @@ trait ParsedownGravTrait
$this->setMarkupEscaped($defaults['escape_markup']);
$this->setSpecialChars($defaults['special_chars']);
$grav->fireEvent('onMarkdownInitialized', new Event(['markdown' => $this]));
$grav->fireEvent('onMarkdownInitialized', new Event([
'markdown' => $this,
'page' => $page,
]));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment