summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_comments.php
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-01-23 05:31:08 +0100
committerLoui Chang <louipc.ist@gmail.com>2009-01-23 05:31:08 +0100
commit22f19eeb66b5970f613d27dd689eab10291a8285 (patch)
tree4c9ce1545b91e32afa948cd4217488492a2793e1 /web/template/pkg_comments.php
parent84cd2d0467f9239cd048e74e5a55a1d8be25ff48 (diff)
downloadaur-22f19eeb66b5970f613d27dd689eab10291a8285.tar.gz
aur-22f19eeb66b5970f613d27dd689eab10291a8285.tar.xz
Change comment style so long lines wrap.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template/pkg_comments.php')
-rw-r--r--web/template/pkg_comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index de13513d..51887646 100644
--- a/web/template/pkg_comments.php
+++ b/web/template/pkg_comments.php
@@ -27,7 +27,7 @@
</tr>
<tr>
<td class="boxSoft">
- <pre><?php echo htmlspecialchars($carr["Comments"]) ?></pre>
+ <code><?php echo nl2br(htmlspecialchars($carr["Comments"])) ?></code>
</td>
</tr>
<?php