未验证 提交 a52fd9c8 编写于 作者: A Ahmed Charles 提交者: GitHub

Fix color tags in item search. (#54442)

Fixes #53801
上级 f1997bf4
......@@ -80,7 +80,7 @@ std::function<bool( const item & )> basic_item_filter( std::string filter )
// by name
default:
return [filter]( const item & a ) {
return lcmatch( a.tname(), filter );
return lcmatch( remove_color_tags( a.tname() ), filter );
};
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册