]> git.quilime.com - clmpr.git/commitdiff
nl2br in description
authorGabriel Dunne <gdunne@quilime.com>
Tue, 21 Feb 2012 19:31:46 +0000 (11:31 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Tue, 21 Feb 2012 19:31:46 +0000 (11:31 -0800)
get.php

diff --git a/get.php b/get.php
index 70f78454ab6bb8637da25809b8f0d1150d6b5069..a6b307cc782609e1537f81290b13ac3e22a47117 100644 (file)
--- a/get.php
+++ b/get.php
@@ -144,7 +144,7 @@ function deleteClump( id, elem ) {
         <div class="expand">
             <?php if ($hasDescription) : ?>
                 <span class="desc">
-                <?php echo htmlentities($row['description']); ?>
+                <?php echo nl2br(htmlentities($row['description'])); ?>
                 </span><br />
             <?php endif; ?>
             <?php if (count($row['tags']) > 0) : ?>