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 c39a056 commit b3858e2Copy full SHA for b3858e2
src/components/NcRichText/helpers.js
@@ -3,7 +3,7 @@
3
*
4
* @type {RegExp}
5
*/
6
-export const URL_PATTERN = /(\s|^)(https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig
+export const URL_PATTERN = /(\s|\(|^)(https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|\)|$)/ig
7
8
/**
9
* Regex pattern to identify strings as links and then making them clickable
0 commit comments