TextHandler: Use the fancy Unicode quotation characters

As per our HIG, we should use these in quotations instead of the normal
quote characters.

(cherry picked from commit 1104da5e2c)
This commit is contained in:
Joshua Goins
2024-11-16 15:52:39 -05:00
parent e1840be234
commit 8ab0002057
2 changed files with 5 additions and 5 deletions

View File

@@ -413,11 +413,11 @@ QString TextHandler::stripBlockTags(QString string, const QString &tagType) cons
string.remove(0, string.indexOf(u'>') + 1);
string.remove(string.indexOf(QLatin1String("</p>")), string.size());
}
if (!string.startsWith(u'"')) {
string.prepend(u'"');
if (!string.startsWith(u'')) {
string.prepend(u'');
}
if (!string.endsWith(u'"')) {
string.append(u'"');
if (!string.endsWith(u'')) {
string.append(u'');
}
}