mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Do not output ZERO WIDTH NON JOINER glyph for ligature break via toString
I do not see where this is really useful (contrary to real plaintext). And it breaks spell checking with hunspell and 8bit disctionaries (part of bug #8526)
This commit is contained in:
parent
718eeba60f
commit
75fb3e4b6c
@ -323,7 +323,14 @@ docstring InsetSpecialChar::xhtml(XHTMLStream & xs, OutputParams const &) const
|
||||
|
||||
void InsetSpecialChar::toString(odocstream & os) const
|
||||
{
|
||||
switch (kind_) {
|
||||
case LIGATURE_BREAK:
|
||||
// Do not output ZERO WIDTH NON JOINER here
|
||||
// Spell checker would choke on it.
|
||||
return;
|
||||
default:
|
||||
plaintext(os, OutputParams(0));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user