diff -r e0f6a21cc6d6 -r c7393c51640a texteditor.cpp --- a/texteditor.cpp Fri Jul 08 08:06:36 2005 +0000 +++ b/texteditor.cpp Sat Jul 23 10:26:29 2005 +0000 @@ -678,7 +678,7 @@ e->setText(t); } -QString TextEditor::textConvertToASCII(const QString &t) +QString textConvertToASCII(const QString &t) { QString r=t; @@ -687,8 +687,8 @@ re.setMinimal(true); r.replace (re,"\n"); - // convert all "

" to "\n" - re.setPattern ("/p"); + // convert all "

" to "\n" + re.setPattern ("

"); r.replace (re,"\n"); // remove all remaining tags @@ -702,6 +702,8 @@ r.replace (re,"<"); re.setPattern ("&"); r.replace (re,"&"); + re.setPattern ("""); + r.replace (re,"\""); return r; }