[Libreoffice-bugs] [Bug 136182] LibreOffice does not properly convert -- to em-dash by default
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 18 21:02:20 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=136182
--- Comment #6 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to lomacar from comment #5)
> What you are showing is an en-dash, normally em-dash is used for such
> things. I think a triple dash --- could be automatically converted to
> em-dash, but as already stated, you can easily set that up yourself. The
> current behaviour in Writer is to convert -- to em-dash between letters and
> to en-dash between numbers.
Not sure that is correct, rather there is no difference in the "--" replacement
as 'en-dash' (U+2013) when used between characters or numbers. I just verified
that is true with current master in Writer, Calc and Impress.
Looking in source, can't find a use of the U+2014 'em-dash' for auto-correction
of two dashes. We do pick up em-dash in a few locales for edit-shell.
And otherwise provide an 'emoji' style "::" auto-correction, i.e. entry o
":---:" becomes '—' (U+2014)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200918/8105182a/attachment.htm>
More information about the Libreoffice-bugs
mailing list