Hi Branden,

(D'oh! I used the wrong email address for all of these mails :-/)

On 1/24/22 22:13, Alejandro Colomar wrote:
> Hi Branden,
> 
> And another html bug; however, this one seems to be a browser bug, but
> please confirm.
> 
> For the following code:
> 
> [
> .TP
> .B \(aq\-\(aq
> Empty white cell.
> ]
> 
> groff(1) generates the following HTML code:
> 
> [
> <p><b>'&minus;'</b></p></td>
> <td width="5%"></td>
> <td width="22%">
> ]
> 
> However, both firefox and chrome show something that if copy&pasted to a
> terminal is different from ASCII 45, and is longer than the proper minus
> sign.
> 
> Should I report a bug to firefox?

I found (by accideent) that plain -, which is translated by `groff -T
html` into plain -, is represented by both firefox and chrome by ASCII
45.  When copy-pasted into the terminal, I can execute the command.

It's \-, which is translated by groff into &minus;, which is understood
as a weird character, contrary to the expectations.

Cheers,

Alex

-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

Reply via email to