mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
tex2lyx/text.cpp: only whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24727 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8a5dd41130
commit
ffe427cfdd
@ -810,9 +810,9 @@ void parse_environment(Parser & p, ostream & os, bool outer,
|
||||
// can be ended by another switches, but also by commands like \footnote or
|
||||
// \parbox. So the only safe way is to leave them untouched.
|
||||
else if (name == "center" || name == "centering" ||
|
||||
name == "flushleft" || name == "flushright" ||
|
||||
name == "singlespace" || name == "onehalfspace" ||
|
||||
name == "doublespace" || name == "spacing") {
|
||||
name == "flushleft" || name == "flushright" ||
|
||||
name == "singlespace" || name == "onehalfspace" ||
|
||||
name == "doublespace" || name == "spacing") {
|
||||
eat_whitespace(p, os, parent_context, false);
|
||||
// We must begin a new paragraph if not already done
|
||||
if (! parent_context.atParagraphStart()) {
|
||||
|
Loading…
Reference in New Issue
Block a user