]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBranch.cpp
Use new display() values to remove some inset hardcoding.
[features.git] / src / insets / InsetBranch.cpp
index a2148201fe5b03bc01d423bd9943719dc156d4c1..d30e348da571f9ecc60a1e6163ad878cf93bc81b 100644 (file)
@@ -402,7 +402,10 @@ void InsetBranchParams::write(ostream & os) const
 
 void InsetBranchParams::read(Lexer & lex)
 {
-       lex >> branch;
+       // There may be a space in branch name
+       // if we wanted to use lex>>, the branch name should be properly in quotes
+       lex.eatLine();
+       branch = lex.getDocString();
        lex >> "inverted" >> inverted;
 }