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

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



On Sat, 2009-04-04 at 11:51 -0700, Russ Allbery wrote:
> Raphael Geissert <atomo64+debian@gmail.com> writes:
> > Russ Allbery wrote:
> 
> >> I wonder if we should go all the way to making this a separate output
> >> format, with the color option retained for backward compatibility.  I
> >> think that was proposed a while back.
> 
> > Yeah, at first I hesitated to make the changes I have now proposed
> > because colour ain't format. But yes, it might be a good idea to move it
> > as an output format. I don't think other output formats work (well) with
> > --color html anyway, do they?
> 
> XML clearly doesn't.  The <span> tags would end up encoded.
> 
> LetterQualifier could work, but I doubt anyone is using that combination
> and it's not compelling enough for me to care too much about preserving
> it.

LetterQualifier respects the colour options, but outputs ANSI colour
regardless of whether color=html was used.  The other output formats
don't support colour at all.

Adam



Reply to: