svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ PackageDescription.tpl.php

[email protected] (Michael Gauthier)
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
gauthierm                                Mon, 12 Jul 2010 20:57:21 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=301216

Log:
Don't nest paragraph tags. Markdown will insert them appropriately.

Changed paths:
    U   pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/PackageDescription.tpl.php

Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/PackageDescription.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/PackageDescription.tpl.php	2010-07-12 20:11:35 UTC (rev 301215)
+++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/PackageDescription.tpl.php	2010-07-12 20:57:21 UTC (rev 301216)
@@ -1,16 +1,12 @@
-            <p>
-                <?php
-                $markdown = new \PEAR2\Text\Markdown_Extra();
-                echo $markdown->transform($context->getRaw('description'));
-                ?>
-            </p>
+            <?php
+            $markdown = new \PEAR2\Text\Markdown_Extra();
+            echo $markdown->transform($context->getRaw('description'));
+            ?>

             <div class="package-release-notes">
                 <h3>Release Notes - <?php echo $context->version['release']; ?></h3>
-                <p>
                 <?php
                 $markdown = new \PEAR2\Text\Markdown_Extra();
                 echo $markdown->transform($context->getRaw('notes'));
                 ?>
-                </p>
             </div>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.