mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
extract markdown link
This commit is contained in:
1 parent
5643380916
commit
c4a91c2b34
1 file changed
+1
-1
@@ -51,7 +51,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
items () {
|
||||
return snarkdown(this.string.replace(/\n/g, '<br>')).split(htmlSplitRegexp)
|
||||
return snarkdown(this.string.replace(/(?<!\(\s*)(https?:\/\/[^\s]+)(?!\s*\))/g, '[$1]($1)').replace(/\n/g, '<br>')).split(htmlSplitRegexp)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in new issue
Block a user