-rw-r--r-- | libopie/todoevent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/todoevent.cpp b/libopie/todoevent.cpp index 5537b77..b820150 100644 --- a/libopie/todoevent.cpp +++ b/libopie/todoevent.cpp @@ -130,9 +130,9 @@ QString ToDoEvent::richText() const // Description of the todo if ( !description().isEmpty() ){ text += "<b>" + QObject::tr( "Description:" ) + "</b><br>"; - text += Qtopia::escapeString(description() ) + "<br>"; + text += Qtopia::escapeString(description() ).replace(QRegExp( "[\n]"), "<br>" ) + "<br>"; } text += "<b>" + QObject::tr( "Priority:") +" </b>" + QString::number( priority() ) + "<br>"; if (hasDate() ){ |