summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index b4844aabd..7e887a9d9 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -101,13 +101,14 @@ class ShowstreamAction extends StreamAction {
'alt' => $profile->nickname));
}
if ($profile->fullname) {
+ common_element_start('div', 'fullname');
if ($profile->homepage) {
- common_element('a', array('href' => $profile->homepage,
- 'class' => 'fullname'),
+ common_element('a', array('href' => $profile->homepage),
$profile->fullname);
} else {
- common_element('div', 'fullname', $profile->fullname);
+ common_text($profile->fullname);
}
+ common_element_end('div');
}
if ($profile->location) {
common_element('div', 'location', $profile->location);