$stmt->bindParam(':page', $this->_pageId, PDO::PARAM_INT);
$stmt->execute();
while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
+ $row['title'] = htmlspecialchars($row['title'], ENT_COMPAT, 'UTF-8', false);
if ($row['image']) {
$row['imageUrl'] = HOMEPAGE_HEADLINE_THUMB . $row['image'];
}
type="text"
class="title"
name="title"
- value="{block[title]}">
+ value="{block[title]:h}">
<div class="internal_link">
<h3>Internal Link</h3>
<label class="titleLabel">Links to:</label>
<div class="row">
<div class="small-11 small-centered columns show-for-small text-center homeBlockHeader">
{if:block[href]}<a href="{block[href]:h}">{end:}
- <h3>{block[header]}</h3>
+ <h3>{block[header]:h}</h3>
{if:block[href]}</a>{end:}
</div>
<div class="small-11 small-centered columns text-center blockImg">
</div>
<div class="small-11 small-centered show-for-medium-up columns text-center homeBlockHeader">
{if:block[href]}<a href="{block[href]:h}">{end:}
- <h3>{block[header]}</h3>
+ <h3>{block[header]:h}</h3>
{if:block[href]}</a>{end:}
</div>
<div class="small-10 small-centered columns blockDescr">