summaryrefslogtreecommitdiffstats
path: root/noatun/modules/htmlexport/htmlexport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/htmlexport/htmlexport.cpp')
-rw-r--r--noatun/modules/htmlexport/htmlexport.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noatun/modules/htmlexport/htmlexport.cpp b/noatun/modules/htmlexport/htmlexport.cpp
index d8a04537..14c1dc20 100644
--- a/noatun/modules/htmlexport/htmlexport.cpp
+++ b/noatun/modules/htmlexport/htmlexport.cpp
@@ -136,9 +136,9 @@ TQString HTMLExport::htmlEscape(const TQString &source) {
// Escape characters that need to be escaped
TQString temp = source;
- temp.tqreplace( TQRegExp("&"), "&" );
- temp.tqreplace( TQRegExp("<"), "&lt;" );
- temp.tqreplace( TQRegExp(">"), "&gt;" );
+ temp.replace( TQRegExp("&"), "&amp;" );
+ temp.replace( TQRegExp("<"), "&lt;" );
+ temp.replace( TQRegExp(">"), "&gt;" );
return temp;
}