]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex.C
more changes, read the Changelog
[lyx.git] / src / lyxlex.C
index 3e7206dcc2a8892107ee9afee030af399f62272d..178ad888337526791704706f1cd90ee35ab5c1bb 100644 (file)
@@ -123,7 +123,7 @@ float LyXLex::GetFloat() const
 }
 
 
-string const LyXLex::GetString() const
+string LyXLex::GetString() const
 {
        return pimpl_->GetString();
 }
@@ -167,7 +167,7 @@ string LyXLex::getLongString(string const & endtoken)
                            && prefixIs(tmpstr, prefix.c_str())) {
                                tmpstr.erase(0, prefix.length() - 1);
                        }
-                       str += tmpstr + '\n';
+                       str += frontStrip(tmpstr, "\t") + '\n';
                 }
                else // token == endtoken
                        break;