diff options
Diffstat (limited to 'src/importers/rezkonvimporter.cpp')
| -rw-r--r-- | src/importers/rezkonvimporter.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/importers/rezkonvimporter.cpp b/src/importers/rezkonvimporter.cpp index b3f8103..220f623 100644 --- a/src/importers/rezkonvimporter.cpp +++ b/src/importers/rezkonvimporter.cpp @@ -198,6 +198,7 @@ void RezkonvImporter::loadInstructions( TQStringList::const_iterator &text_it, R TQString instr; TQRegExp rx_title( "^:{0,1}\\s*O-Titel\\s*:" ); TQString line; + text_it++; while ( text_it != m_end_it ) { line = *text_it; @@ -216,12 +217,8 @@ void RezkonvImporter::loadInstructions( TQStringList::const_iterator &text_it, R kdDebug() << "Found long title: " << recipe.title << endl; } else { - if ( line.isEmpty() ) - instr += "\n\n"; - - instr += line; + instr += line.stripWhiteSpace(); } - text_it++; } |
