[aur-dev] [PATCH] Linkify user homepage URLs
Johannes Löthberg
johannes at kyriasis.com
Wed Jun 22 21:28:43 UTC 2016
Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
---
web/template/account_details.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/template/account_details.php b/web/template/account_details.php
index 0ac85a5..8b76382 100644
--- a/web/template/account_details.php
+++ b/web/template/account_details.php
@@ -43,7 +43,7 @@
</tr>
<tr>
<th><?= __("Homepage") . ":" ?></th>
- <td><?= htmlspecialchars($row["Homepage"], ENT_QUOTES) ?></td>
+ <td><a href="<?= htmlspecialchars($row["Homepage"], ENT_QUOTES) ?>" rel="nofollow"><?= htmlspecialchars($row["Homepage"], ENT_QUOTES) ?></a></td>
</tr>
<tr>
<th><?= __("IRC Nick") . ":" ?></th>
--
2.9.0
More information about the aur-dev
mailing list