+2003-03-28 John Levon <levon@movementarian.org>
+
+ * insetgraphicsParams.C: read subcaptionText as a whole line
+ (bug 656)
+
2003-03-28 John Levon <levon@movementarian.org>
* insettext.C: remove unused prototypes
} else if (token == "subcaption") {
subcaption = true;
} else if (token == "subcaptionText") {
- lex.next();
- subcaptionText = lex.getString();
+ lex.eatLine();
+ string sub = lex.getString();
+ // strip surrounding " "
+ subcaptionText = sub.substr(1, sub.length() - 2);
} else if (token == "special") {
lex.eatLine();
special = lex.getString();