Quote:
Originally Posted by arspr
The problem there is that html tags are breaking the link between punctuation marks and their partner word. I don't know if this is a bug or just how html is supposed to work. I cannot assure that that behaviour is wrong (even if it seems weird).
You should test if you suffer the issue in, let's say, <i>what</i>ever (which should be displayed as whatever). I bet that the renderer is also going to wrap in the middle of the word when necessary.
|
That bug irritates me, too. Ideally, rendering (and, thus, hyphenation) should be based on the final text, with HTML tags not considered - except where they're
supposed to affect rendering, as with BR linebreaks and other such special cases.
The various small-caps workarounds are particularly galling in that respect. You wind up with stuff like:
Imagine Small C
aps Here
...where you don't even get a hyphen, because "C" and "aps" aren't understood to be a single word.