[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] pmccabe2html: escaping of special characters
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] pmccabe2html: escaping of special characters |
Date: |
Thu, 26 Sep 2013 00:51:27 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 09/25/2013 10:11 PM, Mats Erik Andersson wrote:
> Hello there,
>
> it turns out that the module pmccabe2html does not escape
> the charecters '&', '<', and '>' properly, when including
> C source code. The following patch is able to do that with
> Gawk, Mawk, and Nawk. It even produces xmllint-clean output
> for the GNU Shishi project, where the resulting file presents
> 876 functions in a total of 510k HTML code.
Yep matches sed logic from my http://www.pixelbeat.org/scripts/ansi2html.sh
script.
Pushed.
thanks,
Pádraig.