Remove extra invalid class on links in chat
This commit is contained in:
parent
a8c777c797
commit
e92f5d573b
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user