misc.search: trim titles
This commit is contained in:
parent
942de91a68
commit
c7e110a430
1 changed files with 3 additions and 3 deletions
|
@ -590,9 +590,9 @@ search.callback = async function (msg, line, args, {results = 2}) {
|
|||
);
|
||||
out += `\n<${encodeURI(result.special_response.source)}>`;
|
||||
} else {
|
||||
out += `**${safeString(parseHtmlEntities(result.title))}** - <${encodeURI(
|
||||
result.url
|
||||
)}>`;
|
||||
out += `**${safeString(
|
||||
parseHtmlEntities(result.title)
|
||||
).trim()}** - <${encodeURI(result.url)}>`;
|
||||
out += `\n> ${safeString(parseHtmlEntities(result.description))}`;
|
||||
}
|
||||
out += "\n\n";
|
||||
|
|
Loading…
Reference in a new issue