]> git.lyx.org Git - features.git/commitdiff
tex2lyx/text.cpp: \InsetSpace has no begin and end (LyX 1.5 was tolerant to the missi...
authorUwe Stöhr <uwestoehr@web.de>
Mon, 28 Apr 2008 22:47:47 +0000 (22:47 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Mon, 28 Apr 2008 22:47:47 +0000 (22:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24547 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/text.cpp

index 1a2b0947bfd9ae20c02fc16ef16703070715de9a..2a38b07e53dfdfe52b530e8875612a6d9ac4031d 100644 (file)
@@ -2403,7 +2403,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
                else if (is_known(t.cs(), known_spaces)) {
                        char const * const * where = is_known(t.cs(), known_spaces);
                        context.check_layout(os);
-                       begin_inset(os, "InsetSpace ");
+                       os << "\\InsetSpace ";
                        os << '\\' << known_coded_spaces[where - known_spaces]
                           << '\n';
                        // LaTeX swallows whitespace after all spaces except