fix: story template-story class, datetime attr, imageName escaping, raw content comments
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr
This commit is contained in:
@@ -11,7 +11,7 @@ class ChapterBreakShortcode extends Shortcode
|
||||
$plugin = $this->grav['plugins']->getPlugin('story-blocks');
|
||||
$page = $plugin ? $plugin->getCurrentPage() : null;
|
||||
|
||||
$imageName = $sc->getParameter('image', '');
|
||||
$imageName = htmlspecialchars($sc->getParameter('image', ''), ENT_QUOTES);
|
||||
$title = htmlspecialchars($sc->getParameter('title', ''), ENT_QUOTES);
|
||||
$number = htmlspecialchars($sc->getParameter('number', ''), ENT_QUOTES);
|
||||
$alt = htmlspecialchars($sc->getParameter('alt', $title), ENT_QUOTES);
|
||||
|
||||
Reference in New Issue
Block a user