return false; // no end read yet
}
+ // we have to reset the font as in the old format after a float
+ // the font was automatically reset!
+ font = LyXFont(LyXFont::ALL_INHERIT, params.language);
+
// Here we need to check for \end_deeper and handle that
// before we do the footnote parsing.
// This _is_ a hack! (Lgb)
par->checkInsertChar(font);
// insert the string, don't insert doublespace
bool space_inserted = true;
+ bool autobreakrows = !par->inInset() ||
+ static_cast<InsetText *>(par->inInset())->getAutoBreakRows();
for(string::const_iterator cit = str.begin();
cit != str.end(); ++cit) {
if (*cit == '\n') {
- if (par->size() || layout.keepempty) {
+ if (autobreakrows && (par->size() || layout.keepempty)) {
par->breakParagraph(params, pos,
layout.isEnvironment());
par = par->next();