From b2a3954ad78a4430b3f977acce50db17a975a911 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 26 Nov 2017 14:39:22 +0200 Subject: [PATCH] Allow HTML in search results --- src/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands.js b/src/commands.js index 86ed1b9f..9f2ddb9b 100644 --- a/src/commands.js +++ b/src/commands.js @@ -226,7 +226,7 @@ commands.search = async (sender, args, reply, app) => { } msg.push("") msg.push("To force searching from Telegram servers, add `-r` before the search query.") - reply(msg.join("\n")) + reply(msg.join("\n"), { allowHTML: true }) return } } else { @@ -249,7 +249,7 @@ commands.search = async (sender, args, reply, app) => { } else { msg.push("**No users found.**") } - reply(msg.join("\n")) + reply(msg.join("\n"), { allowHTML: true }) } commands.pm = async (sender, args, reply, app) => {