diff options
| author | Dan Allen <dallen@redhat.com> | 2013-04-25 20:29:07 -0600 |
|---|---|---|
| committer | Dan Allen <dallen@redhat.com> | 2013-04-25 20:29:07 -0600 |
| commit | ebb591afa0029cd96fa2a9086e06fc879c028edd (patch) | |
| tree | 7835b33e16b9f940e7416ecb54e63fd445a7286e /lib | |
| parent | 5bb2e756032809079ef25d38369471b5f34413f1 (diff) | |
resolves #280 trailing comma shouldn't be included in link
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/asciidoctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor.rb b/lib/asciidoctor.rb index f880ce7b..87813b39 100755 --- a/lib/asciidoctor.rb +++ b/lib/asciidoctor.rb @@ -371,7 +371,7 @@ module Asciidoctor # inline link and some inline link macro # FIXME revisit! - :link_inline => %r{(^|link:|\s|>|<|[\(\)\[\]])(\\?(?:https?|ftp)://[^\s\[<]*[^\s.\[<])(?:\[((?:\\\]|[^\]])*?)\])?}, + :link_inline => %r{(^|link:|\s|>|<|[\(\)\[\]])(\\?(?:https?|ftp)://[^\s\[<]*[^\s.,\[<])(?:\[((?:\\\]|[^\]])*?)\])?}, # inline link macro # link:path[label] |
