Skip to content

Commit

Permalink
Escape browse preview heading
Browse files Browse the repository at this point in the history
  • Loading branch information
zerocrates committed Jul 25, 2023
1 parent 90ae271 commit ee4196b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/common/block-layout/browse-preview.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $currentLayout = (strpos($layoutSetting, 'grid') !== false) ? 'grid' : 'list';
<div class="preview-block browse">

<?php if ($this->heading): ?>
<h2><?php echo $this->heading; ?></h2>
<h2><?php echo $escape($this->heading); ?></h2>
<?php endif; ?>

<?php if (strpos($layoutSetting, 'toggle') !== false): ?>
Expand Down

0 comments on commit ee4196b

Please sign in to comment.