mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Don't omit ZERO WIDTH NON-JOINER on clipboard paste
Fixes #11790
(cherry picked from commit 7b3404fcab
)
This commit is contained in:
parent
c5cfca6ac6
commit
cca83a320b
@ -866,8 +866,8 @@ void Text::insertStringAsLines(Cursor & cur, docstring const & str,
|
||||
++pos;
|
||||
space_inserted = true;
|
||||
}
|
||||
} else if (!isPrintable(*cit)) {
|
||||
// Ignore unprintables
|
||||
} else if (!isPrintable(*cit) && *cit != 0x200c) {
|
||||
// Ignore unprintables, except for ZWNJ (0x200c)
|
||||
continue;
|
||||
} else {
|
||||
// just insert the character
|
||||
|
@ -78,6 +78,8 @@ What's new
|
||||
|
||||
- Fix over-hasty resetting of dialog in Child Documents settings (bug 11564).
|
||||
|
||||
- Fix problems when pasting ZERO WIDTH NON-JOINER (bug 11790).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user