|Posted: Sun, 2002-08-25 21:03|
I noticed that Gallery doesn't translate newlines and new paragraphs from user comments correctly. A quick fix to anyone who wishes to do this:
in util.php within the function viewComments($index):
add the nl2br() function around the comment output. So
$commentdraw["comment"] = $comment->getCommentText(); becomes
I'd like to suggest that in newer releases of Gallery, Captions and User Comments have this mod or something similar built-in.
Enjoy, for anyone who needs this.