mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Amend d4095dc0
Apostrophes were being converted inside code-like areas, like LilyPond insets. This patch fixes tests that started to fail: Processing `./60/lily-95ee389a.ly' Parsing... ././60/lily-95ee389a.ly:7:12: error: undefined character or shorthand: & \relative c ’’ { g a b c}
This commit is contained in:
parent
a34411d542
commit
0e2513a0e8
@ -3649,7 +3649,7 @@ std::tuple<std::vector<docstring>, std::vector<docstring>, std::vector<docstring
|
||||
delayedChars.emplace_back(1, c);
|
||||
}
|
||||
} else { // No need to delay the character.
|
||||
if (c == '\'')
|
||||
if (c == '\'' && !ignore_fonts)
|
||||
*xs << XMLStream::ESCAPE_NONE << "’";
|
||||
else
|
||||
*xs << c;
|
||||
|
Loading…
Reference in New Issue
Block a user