mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05:00
Updated documentation for inlineRegexp
This commit is contained in:
parent
a8a51746a5
commit
549060867d
1 changed files with 1 additions and 0 deletions
|
@ -200,6 +200,7 @@ Discourse.Dialect = {
|
|||
Discourse.Dialect.inlineRegexp({
|
||||
matcher: /((?:https?:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.])(?:[^\s()<>]+|\([^\s()<>]+\))+(?:\([^\s()<>]+\)|[^`!()\[\]{};:'".,<>?«»“”‘’\s]))/gm,
|
||||
spaceBoundary: true,
|
||||
start: 'http',
|
||||
|
||||
emitter: function(matches) {
|
||||
var url = matches[1];
|
||||
|
|
Loading…
Reference in a new issue