mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
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
Block a user