From 39e81bb9040feb3f0777b0985e0692d8eaa00a33 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 7 Mar 2020 04:06:45 -0700 Subject: [PATCH] escape unformatted --- extensions/extrawindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/extrawindow.cpp b/extensions/extrawindow.cpp index 6a1bfc9..c88d28b 100644 --- a/extensions/extrawindow.cpp +++ b/extensions/extrawindow.cpp @@ -398,8 +398,8 @@ private: for (const auto& [rootTerm, definition, inflections] : LookupDefinitions(term, foundDefinitions)) definitions.push_back( QStringLiteral("

%1 (%5/%6)

%2%3

%4

").arg( - term.split("<<")[0], - rootTerm.split("<<")[0], + term.split("<<")[0].toHtmlEscaped(), + rootTerm.split("<<")[0].toHtmlEscaped(), inflections.join(""), definition )