[aur-dev] [PATCH] Make possible to post patches in comments

Lukas Fleischer archlinux at cryptocrack.de
Wed Sep 29 13:55:15 EDT 2010

On Wed, Sep 29, 2010 at 05:13:18PM +0200, Manuel Tortosa wrote:
> +<?php echo str_replace("  ", " &nbsp;", nl2br(htmlspecialchars($carr['Comments']))) ?>

You should definitely use "<pre></pre>" tags here instead of replacing
every occurence of a whitespace (" ") by its HTML entity ("&nbsp;").

More information about the aur-dev mailing list