Skip to content

Commit

Permalink
improve docs code example
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindees committed Nov 19, 2024
1 parent 13e21be commit 2197853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Sanitize HTML from using the rendering engine's `escHtml()`:
<ul>
<?php foreach ($menu ?? [] as $item): ?>
<li>
<a href="<?= $this->escAttr($item) ?>">
<a href="#" title="<?= $this->escAttr($item) ?>">
<?= $this->escHtml($item) ?>
</a>
</li>
Expand Down

0 comments on commit 2197853

Please sign in to comment.