kramdown 2.2.0 → 2.2.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/lib/kramdown/converter/html.rb +0 -1
- data/lib/kramdown/version.rb +1 -1
- data/test/testcases/block/16_toc/toc_exclude.html +1 -1
- data/test/testcases/block/16_toc/toc_levels.html +1 -1
- data/test/testcases/block/16_toc/toc_with_footnotes.html +1 -1
- data/test/testcases/block/16_toc/toc_with_links.html +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a71580a92ad22dcb405e134d54fd2bf8dc9256574211e85e637ad018aa962160
|
4
|
+
data.tar.gz: 3071848d3d1967ff4682373cfd2824f142354759a23bb386ade7f341ddacfb63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11c7cf78f53700f9b2a7ece59eb9cf105ecd14e646bcfa47c24aa5b676deaec991479ef3ffd91139799ee97903b3deefd98da6963a58ac32a05bb9e9a0636e95
|
7
|
+
data.tar.gz: c1a3635873ee7cc6a0274734c6bc558fb4043bf3987943043c3a58ec836f4b1487a27f6129729a1662127af73293721cb5af1df79aefacc49983a0d5a3e535d8
|
data/CONTRIBUTERS
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
1
|
+
2.2.1
|
@@ -415,7 +415,6 @@ module Kramdown
|
|
415
415
|
def generate_toc_tree(toc, type, attr)
|
416
416
|
sections = Element.new(type, nil, attr.dup)
|
417
417
|
sections.attr['id'] ||= 'markdown-toc'
|
418
|
-
sections.attr['role'] ||= 'doc-toc'
|
419
418
|
stack = []
|
420
419
|
toc.each do |level, id, children|
|
421
420
|
li = Element.new(:li, nil, nil, level: level)
|
data/lib/kramdown/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<h1 class="no_toc" id="contents">Contents</h1>
|
2
2
|
|
3
|
-
<ul id="markdown-toc"
|
3
|
+
<ul id="markdown-toc">
|
4
4
|
<li><a href="#header-level-1" id="markdown-toc-header-level-1">Header level 1</a> <ul>
|
5
5
|
<li><a href="#header-level-2" id="markdown-toc-header-level-2">Header level 2</a> <ul>
|
6
6
|
<li><a href="#header-level-3" id="markdown-toc-header-level-3">Header level 3</a> <ul>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kramdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Leitner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rexml
|