We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c91cfb7 commit b7f0f05Copy full SHA for b7f0f05
csp/sync.csp
@@ -147,9 +147,8 @@
147
&js<
148
var outputContainer = document.getElementById('outputBox');
149
var lineText = #(..QuoteJS(escapedLine))#;
150
- var urlRegex = /(https?:\/\/[^ ]*)/;
+ var urlRegex = /(https?:\/\/[^ ]*)/gi;
151
lineText = lineText.replace(urlRegex, "<a href='$1' target=_blank>$1</a>");
152
- var lineTextNode = document.createTextNode(lineText);
153
outputContainer.innerHTML += lineText + "<br>";
154
>
155
}
0 commit comments