Remove extra invalid class on links in chat

This commit is contained in:
Pavel Djundik 2018-07-12 21:34:53 +03:00 committed by Pavel Djundik
parent a8c777c797
commit e92f5d573b

View File

@ -86,9 +86,6 @@ module.exports = function parse(createElement, text, message = null) {
if (textPart.link) { if (textPart.link) {
const preview = message && message.previews.find((p) => p.link === textPart.link); const preview = message && message.previews.find((p) => p.link === textPart.link);
const link = createElement("a", { const link = createElement("a", {
class: [
"inline-channel",
],
attrs: { attrs: {
href: textPart.link, href: textPart.link,
target: "_blank", target: "_blank",