octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [generate_html] Encoding of NEWS file


From: Julien Bect
Subject: Re: [generate_html] Encoding of NEWS file
Date: Sun, 18 Jan 2015 20:11:43 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Le 18/01/2015 17:38, Julien Bect a écrit :
*** Please keep the mailing list in cc ***

Le 18/01/2015 13:46, Oliver Heimlich a écrit :
In line 533 of generate_package_html.m, where the contents of the COPYING.html file are written, please use the insert_char_entities function:
    fprintf (fid, "<pre>%s</pre>\n\n", contents);

The current version does not escape html special characters, which is problematic. The GPLv3 text contains several "<" and ">" characters.

The section where the NEWS file is written already does it right:
fprintf (fid, "<pre>%s</pre>\n\n", insert_char_entities (news_content));

Yes, I will fix that too.

Done.

https://sourceforge.net/p/octave/generate_html/merge-requests/1/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]