mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-14 17:07:53 +00:00
delete console.log() in htmlFormatMsg() for empty input string
This commit is contained in:
parent
a9e750c257
commit
17bfce7c43
@ -573,10 +573,8 @@ function htmlFormatMsg(msg, opt) {
|
||||
return msg.str;
|
||||
}
|
||||
|
||||
if (!msg) {
|
||||
console.warn('htmlFormatMsg() error: input string is empty');
|
||||
if (!msg)
|
||||
return {html: '', mentions: []};
|
||||
}
|
||||
|
||||
if (opt && opt.markout)
|
||||
var markoutOpt = opt.markout;
|
||||
|
Loading…
Reference in New Issue
Block a user