summaryrefslogtreecommitdiff
path: root/src/templates/index.php
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-11-09 20:34:18 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-11-09 20:34:18 +0000
commit5c7b4099e2815089cb7bfe49f6b07158c23a8b2f (patch)
treec4d53a069187f333b4665cdd61c1d97fd1e9cdf5 /src/templates/index.php
parent4a40b41f386af23da54cd35b8abac1f27c8e5ef7 (diff)
Add missing htmlentities
Diffstat (limited to 'src/templates/index.php')
-rw-r--r--src/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/index.php b/src/templates/index.php
index 796bc26..f078bbd 100644
--- a/src/templates/index.php
+++ b/src/templates/index.php
@@ -18,7 +18,7 @@
<ul>
<a href="/">All</a>
<?php foreach($bookmarks->tags() as $tag) { ?>
- <li><a href="/?tag=<?php echo htmlentities($tag); ?>"><?php echo $tag; ?></a></li>
+ <li><a href="/?tag=<?php echo htmlentities($tag); ?>"><?php echo htmlentities($tag); ?></a></li>
<?php } ?>
</ul>
<h2>Bookmarks</h2>