19.12.2016, 11:42, tlvp wrote:
> [...] my author colleague sometimes sets local explanatory material off
> between em-dashes, and prefers these (a) abutting the words they separate,
> but (b) prepared to break away from them should line-flow aesthetics demand
> it. One resolution of the conflict those demands spawn is to use the trio
> [ZeroWidthSpace][EmDash][ZeroWidthSpace] in place of simply EmDash, i.e.,
> ​&emdash;​ , wherever an em-dash would be called for.
It looks messy, but I don’t think you can make it simpler (in HTML
source). Actually entering the characters involved is impractical even
if you can define e.g. a macro for it in an editor, since zero width
spaces are literally unnoticeable (unless an editor chooses to render it
in some special way). Using <wbr>—<wbr> would be a nicer option, but
people who define HTML standards have decided to treat the good old
<wbr> as Bad, Obsolete, and whatever, and the browser support, which was
excellent, isn’t quite that any more.
The information is outdated. Chrome implements Unicode line breaking
rules for EM DASH. Unfortunately other browsers misbehave.
Don’t treat that page as an authority of any kind. For one thing, it
claims that EN DASH is indistinguishable from MINUS SIGN. (They are two
distinct characters, and even though people may confuse them and even
though fonts may have identical or almost identical glyphs for them, a
well-designed font makes them different.)
--
Yucca,
http://www.cs.tut.fi/~jkorpela/