aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/HotExamples.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-18 18:36:23 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-18 18:36:23 +0200
commitcd3c2a139ed17fe9a4abf5f08a95d995843e6d44 (patch)
treeaa48405b3d9412f84bd71e80467d0edc51fd93b9 /src/plugins/HotExamples.cpp
parentd74766245facd48805c2576c711d20cafa33aa35 (diff)
Show saucenao urls directly in the result
Diffstat (limited to 'src/plugins/HotExamples.cpp')
-rw-r--r--src/plugins/HotExamples.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/HotExamples.cpp b/src/plugins/HotExamples.cpp
index a049101..043ddfd 100644
--- a/src/plugins/HotExamples.cpp
+++ b/src/plugins/HotExamples.cpp
@@ -100,7 +100,8 @@ namespace QuickMedia {
if(text.data) {
std::string title(text.data, text.size);
html_unescape_sequences(title);
- string_replace_all(title, "Project:", " Project:");
+ string_replace_all(title, "File:", "File: ");
+ string_replace_all(title, "Project:", " Project: ");
auto item = BodyItem::create(std::move(title));
//item->url.assign(href.data, href.size);