mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Add a pending space after math if it is not the last of the selection. This fixes problems like in bug #6094.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30821 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ca66ebb1b0
commit
7e624928ef
@ -2554,8 +2554,11 @@ docstring Paragraph::asString(pos_type beg, pos_type end, int options) const
|
||||
if (isPrintable(c) || c == '\t'
|
||||
|| (c == '\n' && options & AS_STR_NEWLINES))
|
||||
os.put(c);
|
||||
else if (c == META_INSET && options & AS_STR_INSETS)
|
||||
else if (c == META_INSET && options & AS_STR_INSETS) {
|
||||
getInset(i)->tocString(os);
|
||||
if (getInset(i)->asInsetMath())
|
||||
os << " ";
|
||||
}
|
||||
}
|
||||
|
||||
return os.str();
|
||||
|
Loading…
Reference in New Issue
Block a user