|
@@ -60,7 +60,7 @@ static QString escapeText(QString s) {
|
|
qDebug() << "Escaping text";
|
|
qDebug() << "Escaping text";
|
|
if (s.contains("'")) {
|
|
if (s.contains("'")) {
|
|
qDebug() << "Replacing single quote";
|
|
qDebug() << "Replacing single quote";
|
|
- s.replace("'", "'\"'\"'");
|
|
|
|
|
|
+ s.replace("'", "\'");
|
|
}
|
|
}
|
|
if (s.contains("\t")) {
|
|
if (s.contains("\t")) {
|
|
s.replace("\t", "\\t");
|
|
s.replace("\t", "\\t");
|