Re: how to prevent wrapping between "--" and "longoption" for html output?

2025-02-23 Thread Benno Schulenberg
Hello Branden, Regarding the hyphenation problem, the lump in the carpet moves after groff 1.22.4. Because HTML output now produces − entities rather than hyphens from *roff minus special characters (`\-`), [...] Ouch! I don't like the look of them on the HTML page: they are "enormous", loo

Re: how to prevent wrapping between "--" and "longoption" for html output?

2025-02-17 Thread Benno Schulenberg
In short, I would consider this to be a bug in the respective browsers. Agreed.  A hyphen should only be considered a hyphenatable position when it has _alphabetical_ characters on both sides. Reported here: https://bugzilla.mozilla.org/1948666 Benno OpenPGP_signature.asc Description:

Re: how to prevent wrapping between "--" and "longoption" for html output?

2025-02-17 Thread Benno Schulenberg
Hi onf, Op 16-02-2025 om 16:55 schreef onf: Sounds like "modern" web browsers just break lines poorly. I have replicated what you are describing in Firefox 128.7.0esr. I've checked that Dillo (3.0.5) does the same. And epiphany (42.4) too -- before it went into a tight spin and locked-up my

Re: how to prevent wrapping between "--" and "longoption" for html output?

2025-02-17 Thread Benno Schulenberg
Hi Branden, Op 16-02-2025 om 15:13 schreef G. Branden Robinson: Is there a way to mark such long options in the man page so that browsers are prevented from breaking the marked text in any way? Yes. It sounds like what you're looking for is the hyphenation control escape sequence, `\%`. I

how to prevent wrapping between "--" and "longoption" for html output?

2025-02-16 Thread Benno Schulenberg
Hi, In the HTML version of a man page it can happen that a long option (like --restricted) occurs near the right edge and that the browser splits the thing into "--" at the end of the line and "restricted" at the beginning of the next line. Is there a way to mark such long options in the man pa