Browse Source

Fix broken links in q-chat

Replaced by correct regex pattern
master
AlphaX-Projects 4 months ago committed by GitHub
parent
commit
78a0c31cf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      plugins/plugins/core/components/ChatScroller.js

2
plugins/plugins/core/components/ChatScroller.js

@ -87,7 +87,7 @@ const extractComponents = async (url) => {
}
function processText(input) {
const linkRegex = /(qortal:\/\/S+)/g
const linkRegex = /(qortal:\/\/\s+$|\S+.+)/gm
function processNode(node) {
if (node.nodeType === Node.TEXT_NODE) {
const parts = node.textContent.split(linkRegex)

Loading…
Cancel
Save