forked from Qortal/qortal-ui
Merge branch 'Qortal:master' into master
This commit is contained in:
commit
2658d86c79
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user