summaryrefslogtreecommitdiff
path: root/modules/info/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/info/helpers')
-rw-r--r--modules/info/helpers/info_block.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php
index c4470dbe..3dcfa338 100644
--- a/modules/info/helpers/info_block.php
+++ b/modules/info/helpers/info_block.php
@@ -60,8 +60,9 @@ class info_block_Core {
if ($theme->item->owner->url) {
$info["owner"] = array(
"label" => t("Owner:"),
- "value" => "<a href=\"{$theme->item->owner->url}\">" .
- html::clean($display_name) . "</a>"
+ "value" => html::anchor(
+ html::clean($theme->item->owner->url),
+ html::clean($display_name))
);
} else {
$info["owner"] = array(