mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 06:49:43 +00:00
Don't write \PassThruChars if it is empty.
This commit is contained in:
parent
f2e759d499
commit
c3c1ac0621
@ -1286,6 +1286,7 @@ void Layout::write(ostream & os) const
|
|||||||
os << "\tLabelCounter \"" << to_utf8(counter) << "\"\n";
|
os << "\tLabelCounter \"" << to_utf8(counter) << "\"\n";
|
||||||
os << "\tFreeSpacing " << free_spacing << '\n';
|
os << "\tFreeSpacing " << free_spacing << '\n';
|
||||||
os << "\tPassThru " << pass_thru << '\n';
|
os << "\tPassThru " << pass_thru << '\n';
|
||||||
|
if (!pass_thru_chars.empty())
|
||||||
os << "\tPassThruChars " << to_utf8(pass_thru_chars) << '\n';
|
os << "\tPassThruChars " << to_utf8(pass_thru_chars) << '\n';
|
||||||
os << "\tParbreakIsNewline " << parbreak_is_newline << '\n';
|
os << "\tParbreakIsNewline " << parbreak_is_newline << '\n';
|
||||||
switch (spacing.getSpace()) {
|
switch (spacing.getSpace()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user