svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ PackageDescription.tpl.php
[email protected] (Brett Bieber)
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
saltybeagle Mon, 12 Jul 2010 14:31:08 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301199
Log:
Get the raw release notes and description before transforming with markdown.
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 14:30:40 UTC (rev 301198)
+++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/PackageDescription.tpl.php 2010-07-12 14:31:08 UTC (rev 301199)
@@ -1,7 +1,7 @@
<p>
<?php
$markdown = new \PEAR2\Text\Markdown_Extra();
- echo $markdown->transform($context->description);
+ echo $markdown->transform($context->getRaw('description'));
?>
</p>
@@ -10,7 +10,7 @@
<p>
<?php
$markdown = new \PEAR2\Text\Markdown_Extra();
- echo $markdown->transform($context->notes);
+ echo $markdown->transform($context->getRaw('notes'));
?>
</p>
</div>