-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 | |||
@@ -128,13 +128,13 @@ QString ToDoEvent::richText() const | |||
128 | QString text; | 128 | QString text; |
129 | QStringList catlist; | 129 | QStringList catlist; |
130 | 130 | ||
131 | // Description of the todo | 131 | // Description of the todo |
132 | if ( !description().isEmpty() ){ | 132 | if ( !description().isEmpty() ){ |
133 | text += "<b>" + QObject::tr( "Description:" ) + "</b><br>"; | 133 | text += "<b>" + QObject::tr( "Description:" ) + "</b><br>"; |
134 | text += Qtopia::escapeString(description() ) + "<br>"; | 134 | text += Qtopia::escapeString(description() ).replace(QRegExp( "[\n]"), "<br>" ) + "<br>"; |
135 | } | 135 | } |
136 | text += "<b>" + QObject::tr( "Priority:") +" </b>" | 136 | text += "<b>" + QObject::tr( "Priority:") +" </b>" |
137 | + QString::number( priority() ) + "<br>"; | 137 | + QString::number( priority() ) + "<br>"; |
138 | if (hasDate() ){ | 138 | if (hasDate() ){ |
139 | text += "<b>" + QObject::tr( "Deadline:") + " </b>"; | 139 | text += "<b>" + QObject::tr( "Deadline:") + " </b>"; |
140 | text += date().toString(); | 140 | text += date().toString(); |