From 519bbfb2e973169e52d6802fdca7f49930d2dabb Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 16 Mar 2011 10:03:28 -0400 Subject: [PATCH] use

to keep stuff in profile block from bunching --- lib/profileblock.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/profileblock.php b/lib/profileblock.php index 716149dfeb..dca0814437 100644 --- a/lib/profileblock.php +++ b/lib/profileblock.php @@ -69,19 +69,21 @@ abstract class ProfileBlock extends Widget $name = $this->name(); if (!empty($name)) { + $this->out->elementStart('p', 'profile_block_name'); $url = $this->url(); if (!empty($url)) { $this->out->element('a', array('href' => $url), $name); } else { - $this->out->element('span', 'profile_block_name', $name); + $this->out->text($name); } + $this->out->elementEnd('p'); } $location = $this->location(); if (!empty($location)) { - $this->out->element('span', 'profile_block_location', $location); + $this->out->element('p', 'profile_block_location', $location); } $homepage = $this->homepage(); -- 2.39.5