Skip to content
Snippets Groups Projects
Commit 304eb99f authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Search.Filter.HTML: Fix title always being set to "".

Fixes #10020.
parent bc35275b
No related branches found
No related tags found
No related merge requests found
......@@ -367,10 +367,6 @@ static string clean(string data) {
}
}
});
res->fields->title="";
res->fields->description="";
res->fields->keywords="";
parser->finish(data);
......@@ -378,5 +374,9 @@ static string clean(string data) {
res->fields->body=databuf->get();
res->fix_relative_links(uri);
res->fields->title = res->fields->title || "";
res->fields->description = res->fields->description || "";
res->fields->keywords = res->fields->keywords || "";
return res;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment