motion-markdown-it 8.4.1 → 8.4.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -68,7 +68,7 @@ module MarkdownIt
|
|
68
68
|
def replaceEntityPattern(match, name)
|
69
69
|
code = 0
|
70
70
|
|
71
|
-
return fromCodePoint(HTMLEntities::MAPPINGS[name]) if HTMLEntities::MAPPINGS[name]
|
71
|
+
return fromCodePoint(MarkdownIt::HTMLEntities::MAPPINGS[name]) if MarkdownIt::HTMLEntities::MAPPINGS[name]
|
72
72
|
|
73
73
|
if (name.charCodeAt(0) == 0x23 && DIGITAL_ENTITY_TEST_RE =~ name) # '#'
|
74
74
|
code = name[1].downcase == 'x' ? name.slice_to_end(2).to_i(16) : name.slice_to_end(1).to_i
|
@@ -32,8 +32,8 @@ module MarkdownIt
|
|
32
32
|
else
|
33
33
|
match = state.src.slice_to_end(pos).match(NAMED_RE)
|
34
34
|
if match
|
35
|
-
if HTMLEntities::MAPPINGS[match[1]]
|
36
|
-
state.pending += fromCodePoint(HTMLEntities::MAPPINGS[match[1]]) if !silent
|
35
|
+
if MarkdownIt::HTMLEntities::MAPPINGS[match[1]]
|
36
|
+
state.pending += fromCodePoint(MarkdownIt::HTMLEntities::MAPPINGS[match[1]]) if !silent
|
37
37
|
state.pos += match[0].length
|
38
38
|
return true
|
39
39
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-markdown-it
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.4.1
|
4
|
+
version: 8.4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Walker
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-04-
|
13
|
+
date: 2018-04-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mdurl-rb
|