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

Bug#522527: Escape description text with --color html



tag 522527 patch
thanks

Richard Kettlewell wrote:
[...]
> 
> The attached patch arranges for '--color html' output to be properly
> escaped.  Without it, if you look at the output in a web browser, things
> like the <pkg> in no-copyright-file's /usr/share/doc/<pkg>/copyright can
> disappear.

Attached mbox contains a patch fixing this bug the way I think it should be
fixed:

Properly escaping some characters from the tag line (<&>, not just <& as the
originally proposed patch), and by calling description('html',...) which
ensures <i>, <em>, and <tt> are preserved.

Cheers,
-- 
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net

Attachment: lintian_colors.mbox
Description: application/mbox


Reply to: