diff options
| -rw-r--r-- | lib/asciidoctor/rx.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asciidoctor/rx.rb b/lib/asciidoctor/rx.rb index b6f6b113..f7293636 100644 --- a/lib/asciidoctor/rx.rb +++ b/lib/asciidoctor/rx.rb @@ -104,6 +104,7 @@ module Asciidoctor # } # // end::try-catch[] # NOTE m flag is required for Asciidoctor.js + # NOTE the regex checks for \r to account of include files that use Windows newlines TagDirectiveRx = /\b(?:tag|(e)nd)::(\S+?)\[\](?=$|[ \r])/m ## Attribute entries and references |
