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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04412c06b375292d49a6a3667d1becaa48a8878a
4
- data.tar.gz: 52bffae17bc547b1666beb23154ab2d4a452d076
3
+ metadata.gz: 8bc1e487da8d63a73fe2118ad1e7615cf3c1d3d3
4
+ data.tar.gz: 52412dce1a755ebdc0a5534311533150417046de
5
5
  SHA512:
6
- metadata.gz: f5aa8a34e1fd82af97c2791e302311f7dfd700306604e9be6eae06a34c2e260e54e5fb96bf7ca5911b01c579ec4349dc96dcde2244b2c830d390198626b4ac9f
7
- data.tar.gz: 4e675fda53fb2b709f1387a51ffb90cb3d8fb137ac71423f8a82fd0cd94c29c84aff00274c2d4aabd7922170ecdda161b4e549441699f2c76ecd317d20663128
6
+ metadata.gz: a3e7c3a5e8dc8826ad39c1cd2c051aab9bf0632310adfae7a921287b1b16c049675f2a96a1994b29671dc1b7a2278d230cd9939c30a60c2ae40c813104e4b753
7
+ data.tar.gz: 7d5c35699257687c3968f49e042d3683886691a493c18211d4dc06ddb82232edb56fe2fdb3603f0d20a22ab7c25210377155d2ca495b5cc52be0f314fa0154b0
@@ -1,6 +1,6 @@
1
1
  Count Name
2
2
  ======= ====
3
- 800 Thomas Leitner <t_leitner@gmx.at>
3
+ 802 Thomas Leitner <t_leitner@gmx.at>
4
4
  6 Gioele Barabucci <gioele@svario.it>
5
5
  4 Ted Pak <powerpak006@gmail.com>
6
6
  4 Arne Brasseur <arne@arnebrasseur.net>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.11.1
@@ -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.0**{:itemprop="softwareVersion"} released on
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 =~ /[^\s\[*_"']\z/) || @src.check(/\s/) ||
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
@@ -10,6 +10,6 @@
10
10
  module Kramdown
11
11
 
12
12
  # The kramdown version.
13
- VERSION = '1.11.0'
13
+ VERSION = '1.11.1'
14
14
 
15
15
  end
@@ -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>&#8216;<em>test</em>&#8217;</li>
55
+ <li>&#8220;<em>test</em>&#8221;</li>
56
+ <li>(&#8220;<em>test</em>&#8221;)</li>
57
+ <li>(<em>test</em>)</li>
58
+ <li>“<em>test</em>”</li>
59
+ <li>`<em>test</em>&#8217;</li>
60
+ <li>„<em>test</em>“</li>
61
+ </ul>
@@ -0,0 +1 @@
1
+ :entity_output: :numeric
@@ -48,3 +48,12 @@ Or that \**that\** way
48
48
  [http://blah.com/blah_%28](http://blah.com/blah_%28)
49
49
 
50
50
  [A-_B](A_-B)
51
+
52
+ - _test_
53
+ - '_test_'
54
+ - "_test_"
55
+ - ("_test_")
56
+ - (_test_)
57
+ - “_test_”
58
+ - \`_test_'
59
+ - „_test_“
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.0
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