metanorma-standoc 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ccb10f13350a471175edadd3a93a922226bf6f383faa3b4bcceff74735ff5e8
4
- data.tar.gz: c7e6f17307599cc0ae13f88868aba8c8168c1e9a638b57a8a8c325e33cf2f0be
3
+ metadata.gz: 20b6d6b6948c9eae42b87ef8c6c8a96fcbabdd64f44d3effd972285e5f30ec62
4
+ data.tar.gz: c048925049205b4fbbb2ce7883bc786b7ffd97970bae250226844fbf9801000f
5
5
  SHA512:
6
- metadata.gz: ae8763f5ae8953bf858720cc6ab658281299794fb24a172957d144564d1ac55432a0f08611b9ab243f9f87ebf568edd508f199442ad9c4e675775d4f40cae4aa
7
- data.tar.gz: 4e4fcee2168ab3218355a73075c50d3f42ba6d1068839dbe2260e60a8c65a25f113d55576db49e5a436ef6757a90915cc60b59150dfa30747469d898ac6fcf6d
6
+ metadata.gz: 437c944d237d240b0efc821cc7b84e99dc919557f8474c07922c1dd688dbdb7838e13d523fcfe44b308bdf322c1b4a5405a7c95553ef633e12b7e99b28906714
7
+ data.tar.gz: f233558ba151d531f9c67c07e75e6b2c22aabc38054db61d594abb17b6445c4e31a52931129686156b53e11bec282ec256d964b1bd9b339eca64449a8109a75d
@@ -107,7 +107,7 @@ module Metanorma
107
107
 
108
108
  PASS_INLINE_MACRO_STR = <<~REGEX.freeze
109
109
  (
110
- \\b(?<!-) # word-separator, no hyphen
110
+ \\b(?<![-\\\\]) # word-separator, no hyphen or backslash
111
111
  (?: # don't capture these!
112
112
  (?:#{PASS_INLINE_MACROS}):[^\\s\\[]* | # macro name, :, second key. OR:
113
113
  span:uri \\b [^\\s\\[]* # span:uri, third key
@@ -125,7 +125,7 @@ module Metanorma
125
125
 
126
126
  # InlineLinkRx = %r((^|link:|#{CG_BLANK}|&lt;|[>\(\)\[\];"'])(\\?(?:https?|file|ftp|irc)://)(?:([^\s\[\]]+)\[(|#{CC_ALL}*?[^\\])\]|([^\s\[\]<]*([^\s,.?!\[\]<\)]))))m
127
127
  #
128
- InlineLinkRx = %r((^|(?<!-)\blink:(?!\+)|\p{Blank}|&lt;|[<>\(\)\[\];"'])(\\?(?:https?|file|ftp|irc)://)(?:([^\s\[\]]+)(?:(\[(|.*?[^\\])\])|([^\s\[\]<]*([^\s,.?!\[\]<\)])))))m.freeze
128
+ InlineLinkRx = %r((^|(?<![-\\])\blink:(?!\+)|\p{Blank}|&lt;|[<>\(\)\[\];"'])((?:https?|file|ftp|irc)://)(?:([^\s\[\]]+)(?:(\[(|.*?[^\\])\])|([^\s\[\]<]*([^\s,.?!\[\]<\)])))))m.freeze
129
129
 
130
130
  def inlinelink(text)
131
131
  text.include?("://") or return text
@@ -19,6 +19,6 @@ module Metanorma
19
19
  end
20
20
 
21
21
  module Standoc
22
- VERSION = "2.5.1".freeze
22
+ VERSION = "2.5.2".freeze
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-standoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-09 00:00:00.000000000 Z
11
+ date: 2023-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable