-
A soft hyphen is added to all text that is more than 40 chars long by design.
Why?
Because if we didn't then the mobile view would never be able to fit width on pages where there was long text. The soft hyphen is a unicode hint that this is a good place to wrap text.
An example:
1234567890123456789012345678901234567890ABCDEFGHIJBetween the last zero and the letter A a soft hyphen should be inserted.
If you could view that (view source won't show it, you'd need to copy the above into something like Sublime Text and view non-printable chars) then it would look like this:
1234567890123456789012345678901234567890<0xad>ABCDEFGHIJ
Where
<0xad>
is the soft-hyphen that says to a browser "if you're going to try and wrap but find that you cannot, you can do so here".
-
I understand your point, but given that code blocks are specifically used for situations where every character matters, introducing new ones seems like a bad behaviour.
Context: https://www.lfgss.com/comments/16327731/
Fwiw the code block text reflows fine on my phone at a different point in the string. Your example string of numbers weirdly doesn't, it's one character too wide for the screen.
Noticed a bug, seems like column breaks are automatically added to text copied out of a code block, with a hyphen or bullet point inserted mid-string.
Example -- https://www.lfgss.com/comments/16327748/incontext/
Comes out like the following when copied -
W10 Firefox here.