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
Branches
Tags
No related merge requests found
...@@ -368,15 +368,15 @@ static string clean(string data) { ...@@ -368,15 +368,15 @@ static string clean(string data) {
} }
}); });
res->fields->title="";
res->fields->description="";
res->fields->keywords="";
parser->finish(data); parser->finish(data);
res->links = lf->read(); res->links = lf->read();
res->fields->body=databuf->get(); res->fields->body=databuf->get();
res->fix_relative_links(uri); 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; return res;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment