Bug: soft hyphen handling
Closed this issue · 2 comments
Seirdy commented
Soft hyphens denoted by the ­
entity are always rendered as hyphens in w3m, even when the line isn't broken.
For example, the "Acknowledgements" heading in this page is contains a soft-hyphen (Acknowledge­ments
). w3m displays this text:
Acknowledgements
A web browser displays the above text without a hyphen; however, pasting that text into a terminal will likely result in text that looks like this:
Acknowledge-ments
This is because terminal emulators display the soft hyphen character while web browsers only display it when wrapping text.
w3m shouldn't print the soft hyphen unconditionally: it should only print a regular when wrapping text, or should just remove it altogether.
rkta commented
On Fri, Mar 11, 2022 at 01:04:49AM -0800, Rohan Kumar wrote:
Soft hyphens denoted by the `­` entity are always rendered as
hyphens in w3m, even when the line isn't broken.
JFTR, previous bug report on BTS:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830173