fix lookup with <<

This commit is contained in:
Akash Mozumdar 2020-03-07 03:45:26 -07:00
parent b9081f2472
commit d6412ca0b0

View File

@ -398,7 +398,7 @@ private:
for (const auto& [rootTerm, definition, inflections] : LookupDefinitions(term, foundDefinitions)) for (const auto& [rootTerm, definition, inflections] : LookupDefinitions(term, foundDefinitions))
definitions.push_back( definitions.push_back(
QStringLiteral("<h3>%1 (%5/%6)</h3><small>%2%3</small><p>%4</p>").arg( QStringLiteral("<h3>%1 (%5/%6)</h3><small>%2%3</small><p>%4</p>").arg(
term, term.split("<<")[0],
rootTerm.split("<<")[0], rootTerm.split("<<")[0],
inflections.join(""), inflections.join(""),
definition definition