Updated documentation for `inlineRegexp`
This commit is contained in:
parent
a8a51746a5
commit
549060867d
|
@ -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 New Issue