summaryrefslogtreecommitdiff
path: root/modules/info/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2012-05-06 09:44:12 -0700
committerBharat Mediratta <bharat@menalto.com>2012-05-06 09:45:04 -0700
commit3fe3c09ec31b46b1ed57f4d92074dbf3caa4b294 (patch)
tree1fdb1f100c5835e593d801c8d2fdbdcd8a9cc150 /modules/info/helpers
parent1050bf02233e7a03c0b4e330b84f0d070f5d407d (diff)
Use html::anchor consistently. Fixes #1851.
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(