diff --git a/src/Utils.cpp b/src/Utils.cpp index 91ecfcd783711ca3467d35fc2f07916fd8de5af0..a185a207f9f4f36b5099c5a6ee475f908b8b75c2 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -387,12 +387,11 @@ utils::escapeBlacklistedHtml(const QString &rawStr) break; } case '>': - if (escapingTag) + if (escapingTag) { buffer.append(">"); - else { escapingTag = false; + } else buffer.append('>'); - } break; default: buffer.append(data.at(pos));