diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asciidoctor/rx.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asciidoctor/rx.rb b/lib/asciidoctor/rx.rb index 5e73b13f..c212a871 100644 --- a/lib/asciidoctor/rx.rb +++ b/lib/asciidoctor/rx.rb @@ -717,7 +717,7 @@ module Asciidoctor # # not c:/sample.adoc or c:\sample.adoc # - UriSniffRx = %r(^#{CG_ALPHA}[#{CC_ALNUM}.+-]+:/{0,2}) + UriSniffRx = %r(\A#{CG_ALPHA}[#{CC_ALNUM}.+-]+:/{0,2}) # Detects XML tags XmlSanitizeRx = /<[^>]+>/ |
