Fix bug in html tag escaping

remotes/origin/0.7.0-dev
Nicolas Werner 5 years ago
parent 46a77a8c11
commit 1b039d0b16
  1. 5
      src/Utils.cpp

@ -387,12 +387,11 @@ utils::escapeBlacklistedHtml(const QString &rawStr)
break; break;
} }
case '>': case '>':
if (escapingTag) if (escapingTag) {
buffer.append(">"); buffer.append(">");
else {
escapingTag = false; escapingTag = false;
} else
buffer.append('>'); buffer.append('>');
}
break; break;
default: default:
buffer.append(data.at(pos)); buffer.append(data.at(pos));

Loading…
Cancel
Save