4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

Merge branch 'Qortal:master' into master

This commit is contained in:
AlphaX-Projects 2024-05-20 19:30:49 +02:00 committed by GitHub
commit 2658d86c79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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