kramdown 1.11.0 → 1.11.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kramdown might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CONTRIBUTERS +1 -1
- data/VERSION +1 -1
- data/doc/index.page +1 -1
- data/lib/kramdown/parser/kramdown/emphasis.rb +1 -1
- data/lib/kramdown/version.rb +1 -1
- data/test/testcases/span/02_emphasis/normal.html +11 -0
- data/test/testcases/span/02_emphasis/normal.options +1 -0
- data/test/testcases/span/02_emphasis/normal.text +9 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bc1e487da8d63a73fe2118ad1e7615cf3c1d3d3
|
4
|
+
data.tar.gz: 52412dce1a755ebdc0a5534311533150417046de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3e7c3a5e8dc8826ad39c1cd2c051aab9bf0632310adfae7a921287b1b16c049675f2a96a1994b29671dc1b7a2278d230cd9939c30a60c2ae40c813104e4b753
|
7
|
+
data.tar.gz: 7d5c35699257687c3968f49e042d3683886691a493c18211d4dc06ddb82232edb56fe2fdb3603f0d20a22ab7c25210377155d2ca495b5cc52be0f314fa0154b0
|
data/CONTRIBUTERS
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.11.
|
1
|
+
1.11.1
|
data/doc/index.page
CHANGED
@@ -97,7 +97,7 @@ extensions that have been made popular by the [PHP Markdown Extra] package and [
|
|
97
97
|
It is probably the fastest pure-Ruby Markdown converter available (September 2014), being about 3x
|
98
98
|
faster than [Maruku] and about 4.5x faster than [BlueFeather].
|
99
99
|
|
100
|
-
Version **1.11.
|
100
|
+
Version **1.11.1**{:itemprop="softwareVersion"} released on
|
101
101
|
**2016-05-01**{:itemprop="datePublished"}, [more news](news.html)
|
102
102
|
{: style="text-align: center; font-size: 80%"}
|
103
103
|
|
@@ -22,7 +22,7 @@ module Kramdown
|
|
22
22
|
element = (result.length == 2 ? :strong : :em)
|
23
23
|
type = result[0..0]
|
24
24
|
|
25
|
-
if (type == '_' && @src.pre_match =~ /[
|
25
|
+
if (type == '_' && @src.pre_match =~ /[[:alpha:]-]\z/) || @src.check(/\s/) ||
|
26
26
|
@tree.type == element || @stack.any? {|el, _| el.type == element}
|
27
27
|
add_text(result)
|
28
28
|
return
|
data/lib/kramdown/version.rb
CHANGED
@@ -48,3 +48,14 @@ Or that *<em>that*</em> way</p>
|
|
48
48
|
<p><a href="http://blah.com/blah_%28">http://blah.com/blah_%28</a></p>
|
49
49
|
|
50
50
|
<p><a href="A_-B">A-_B</a></p>
|
51
|
+
|
52
|
+
<ul>
|
53
|
+
<li><em>test</em></li>
|
54
|
+
<li>‘<em>test</em>’</li>
|
55
|
+
<li>“<em>test</em>”</li>
|
56
|
+
<li>(“<em>test</em>”)</li>
|
57
|
+
<li>(<em>test</em>)</li>
|
58
|
+
<li>“<em>test</em>”</li>
|
59
|
+
<li>`<em>test</em>’</li>
|
60
|
+
<li>„<em>test</em>“</li>
|
61
|
+
</ul>
|
@@ -0,0 +1 @@
|
|
1
|
+
:entity_output: :numeric
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kramdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Leitner
|
@@ -571,6 +571,7 @@ files:
|
|
571
571
|
- test/testcases/span/02_emphasis/nesting.html
|
572
572
|
- test/testcases/span/02_emphasis/nesting.text
|
573
573
|
- test/testcases/span/02_emphasis/normal.html
|
574
|
+
- test/testcases/span/02_emphasis/normal.options
|
574
575
|
- test/testcases/span/02_emphasis/normal.text
|
575
576
|
- test/testcases/span/03_codespan/empty.html
|
576
577
|
- test/testcases/span/03_codespan/empty.text
|