▲ | vthriller 5 days ago | ||||||||||||||||
> em dashes are, in most locales, not to be surrounded by a space This is definitely not the case for at least French and Russian, which means markup renderers now have to guess text language or force authors to declare such in some metadata header. And it gets even more complicated with inclusion of block quotes in different languages. | |||||||||||||||||
▲ | chrismorgan 5 days ago | parent [-] | ||||||||||||||||
It’s not hard and doesn’t need language awareness; I described how to detect it: if there’s no space before an end-of-line em dash, suppress the segment-break-replacing space. | |||||||||||||||||
|