From cd3c2a139ed17fe9a4abf5f08a95d995843e6d44 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 18 Sep 2021 18:36:23 +0200 Subject: Show saucenao urls directly in the result --- src/plugins/HotExamples.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/HotExamples.cpp') 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); -- cgit v1.2.3