From: Evan Prodromou <evan@controlyourself.ca>
Date: Fri, 23 Jan 2009 03:31:50 +0000 (+0100)
Subject: p -> div for markup wrapper
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=13bd15b0b54fbdf1f95b27813a7dfc934525baae;p=quix0rs-gnu-social.git

p -> div for markup wrapper
---

diff --git a/actions/public.php b/actions/public.php
index 395d28819e..396b60e83f 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -215,8 +215,8 @@ class PublicAction extends Action
 		$m = _('This is %%site.name%%, a [micro-blogging](http://en.wikipedia.org/wiki/Micro-blogging) service ' .
                'based on the Free Software [Laconica](http://laconi.ca/) tool. ' .
                '[Join now](%%action.register%%) to share notices about yourself with friends, family, and colleagues! ([Read more](%%doc.help%%))');
-        $this->elementStart('p', 'anonymous');
+        $this->elementStart('div', 'anonymous');
         $this->raw(common_markup_to_html($m));
-        $this->elementEnd('p');
+        $this->elementEnd('div');
     }
 }
diff --git a/actions/showgroup.php b/actions/showgroup.php
index c693d518b7..72738d7853 100644
--- a/actions/showgroup.php
+++ b/actions/showgroup.php
@@ -380,8 +380,8 @@ class ShowgroupAction extends Action
                        'short messages about their life and interests. '.
                        '[Join now](%%%%action.register%%%%) to become part of this group and many more! ([Read more](%%%%doc.help%%%%))'),
                      $this->group->nickname);
-        $this->elementStart('p', 'anonymous');
+        $this->elementStart('div', 'anonymous');
         $this->raw(common_markup_to_html($m));
-        $this->elementEnd('p');
+        $this->elementEnd('div');
     }
 }
diff --git a/actions/showstream.php b/actions/showstream.php
index 3bccdcb1a8..3005cdd88d 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -538,9 +538,9 @@ class ShowstreamAction extends Action
                        'based on the Free Software [Laconica](http://laconi.ca/) tool. ' .
                        '[Join now](%%%%action.register%%%%) to follow **%s**\'s notices and many more! ([Read more](%%%%doc.help%%%%))'),
                      $this->user->nickname, $this->user->nickname);
-        $this->elementStart('p', 'anonymous');
+        $this->elementStart('div', 'anonymous');
         $this->raw(common_markup_to_html($m));
-        $this->elementEnd('p');
+        $this->elementEnd('div');
     }
 
 }