Merge pull request 'fix: Solving nasty syntax error.' (#12) from bugfix/issue_#11/solving_syntax_error into master

This commit is contained in:
sergiotarxz 2020-07-28 20:21:58 +02:00
commit a6018ee50f
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<?php endif; ?>
</header>
<?php if ($page->coverImage()): ?>
<img src="<?php echo htmlentities($page->coverImage(), ENT_QUOTES | ENT_HTML401); ?>" alt="<?php htmlentities(echo $page->slug(), ENT_QUOTES | ENT_HTML401); ?>"/>
<img src="<?php echo htmlentities($page->coverImage(), ENT_QUOTES | ENT_HTML401); ?>" alt="<?php echo htmlentities($page->slug(), ENT_QUOTES | ENT_HTML401); ?>"/>
<?php endif ?>
<?php echo $page->content() ?>