kramdown 1.10.0 → 1.11.0
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/Rakefile +2 -1
- data/VERSION +1 -1
- data/doc/default.template +2 -2
- data/doc/index.page +2 -2
- data/doc/installation.page +2 -2
- data/lib/kramdown.rb +1 -1
- data/lib/kramdown/compatibility.rb +1 -1
- data/lib/kramdown/converter.rb +1 -1
- data/lib/kramdown/converter/base.rb +1 -1
- data/lib/kramdown/converter/hash_ast.rb +1 -1
- data/lib/kramdown/converter/html.rb +12 -9
- data/lib/kramdown/converter/kramdown.rb +1 -1
- data/lib/kramdown/converter/latex.rb +1 -1
- data/lib/kramdown/converter/math_engine/itex2mml.rb +1 -1
- data/lib/kramdown/converter/math_engine/mathjax.rb +1 -1
- data/lib/kramdown/converter/math_engine/mathjaxnode.rb +1 -1
- data/lib/kramdown/converter/math_engine/ritex.rb +1 -1
- data/lib/kramdown/converter/pdf.rb +1 -1
- data/lib/kramdown/converter/remove_html_tags.rb +1 -1
- data/lib/kramdown/converter/syntax_highlighter.rb +4 -1
- data/lib/kramdown/converter/syntax_highlighter/coderay.rb +4 -4
- data/lib/kramdown/converter/syntax_highlighter/minted.rb +1 -1
- data/lib/kramdown/converter/syntax_highlighter/rouge.rb +3 -2
- data/lib/kramdown/converter/toc.rb +1 -1
- data/lib/kramdown/document.rb +1 -1
- data/lib/kramdown/element.rb +1 -1
- data/lib/kramdown/error.rb +1 -1
- data/lib/kramdown/options.rb +1 -1
- data/lib/kramdown/parser.rb +1 -1
- data/lib/kramdown/parser/base.rb +1 -1
- data/lib/kramdown/parser/gfm.rb +2 -2
- data/lib/kramdown/parser/html.rb +18 -7
- data/lib/kramdown/parser/kramdown.rb +1 -1
- data/lib/kramdown/parser/kramdown/abbreviation.rb +1 -1
- data/lib/kramdown/parser/kramdown/autolink.rb +1 -1
- data/lib/kramdown/parser/kramdown/blank_line.rb +1 -1
- data/lib/kramdown/parser/kramdown/block_boundary.rb +1 -1
- data/lib/kramdown/parser/kramdown/blockquote.rb +1 -1
- data/lib/kramdown/parser/kramdown/codeblock.rb +1 -1
- data/lib/kramdown/parser/kramdown/codespan.rb +1 -1
- data/lib/kramdown/parser/kramdown/emphasis.rb +2 -2
- data/lib/kramdown/parser/kramdown/eob.rb +1 -1
- data/lib/kramdown/parser/kramdown/escaped_chars.rb +1 -1
- data/lib/kramdown/parser/kramdown/extensions.rb +1 -1
- data/lib/kramdown/parser/kramdown/footnote.rb +1 -1
- data/lib/kramdown/parser/kramdown/header.rb +1 -1
- data/lib/kramdown/parser/kramdown/horizontal_rule.rb +1 -1
- data/lib/kramdown/parser/kramdown/html.rb +6 -4
- data/lib/kramdown/parser/kramdown/html_entity.rb +1 -1
- data/lib/kramdown/parser/kramdown/line_break.rb +1 -1
- data/lib/kramdown/parser/kramdown/link.rb +1 -1
- data/lib/kramdown/parser/kramdown/list.rb +1 -1
- data/lib/kramdown/parser/kramdown/math.rb +1 -1
- data/lib/kramdown/parser/kramdown/paragraph.rb +1 -1
- data/lib/kramdown/parser/kramdown/smart_quotes.rb +1 -1
- data/lib/kramdown/parser/kramdown/table.rb +1 -1
- data/lib/kramdown/parser/kramdown/typographic_symbol.rb +1 -1
- data/lib/kramdown/parser/markdown.rb +1 -1
- data/lib/kramdown/utils.rb +1 -1
- data/lib/kramdown/utils/configurable.rb +1 -1
- data/lib/kramdown/utils/entities.rb +1 -1
- data/lib/kramdown/utils/html.rb +1 -1
- data/lib/kramdown/utils/ordered_hash.rb +1 -1
- data/lib/kramdown/utils/string_scanner.rb +1 -1
- data/lib/kramdown/utils/unidecoder.rb +1 -1
- data/lib/kramdown/version.rb +2 -2
- data/test/run_tests.rb +1 -1
- data/test/test_files.rb +7 -1
- data/test/test_location.rb +1 -1
- data/test/test_string_scanner_kramdown.rb +1 -1
- data/test/testcases/block/06_codeblock/highlighting-opts.html +2 -2
- data/test/testcases/block/06_codeblock/highlighting.html +2 -2
- data/test/testcases/block/06_codeblock/rouge/simple.html +3 -3
- data/test/testcases/block/09_html/not_parsed.html +1 -1
- data/test/testcases/block/09_html/simple.html +0 -4
- data/test/testcases/block/09_html/simple.html.19 +0 -4
- data/test/testcases/block/09_html/simple.text +1 -5
- data/test/testcases/block/09_html/xml.html +8 -0
- data/test/testcases/block/09_html/xml.text +7 -0
- data/test/testcases/block/12_extension/options3.html +2 -2
- data/test/testcases/span/02_emphasis/normal.html +2 -0
- data/test/testcases/span/02_emphasis/normal.text +2 -0
- data/test/testcases/span/05_html/xml.html +5 -0
- data/test/testcases/span/05_html/xml.text +5 -0
- data/test/testcases_gfm/backticks_syntax.html +2 -2
- metadata +20 -2
@@ -1,6 +1,6 @@
|
|
1
|
-
<div class="highlighter-coderay"><span class="CodeRay">x = <span class="constant">Class</span>.new
|
1
|
+
<div class="language-ruby highlighter-coderay"><span class="CodeRay">x = <span class="constant">Class</span>.new
|
2
2
|
</span>
|
3
3
|
</div>
|
4
|
-
<div class="highlighter-coderay"><span class="CodeRay"><span class="tag"><a></span>href<span class="tag"></a></span>
|
4
|
+
<div class="language-html highlighter-coderay"><span class="CodeRay"><span class="tag"><a></span>href<span class="tag"></a></span>
|
5
5
|
</span>
|
6
6
|
</div>
|
@@ -1,10 +1,10 @@
|
|
1
|
-
<div class="highlighter-rouge"><pre class="highlight"><code><span class="n">x</span> <span class="o">=</span> <span class="no">Class</span><span class="p">.</span><span class="nf">new</span>
|
1
|
+
<div class="language-ruby highlighter-rouge"><pre class="highlight"><code><span class="n">x</span> <span class="o">=</span> <span class="no">Class</span><span class="p">.</span><span class="nf">new</span>
|
2
2
|
</code></pre>
|
3
3
|
</div>
|
4
|
-
<div class="highlighter-rouge"><pre class="highlight"><code><span class="nt"><a></span>href<span class="nt"></a></span>
|
4
|
+
<div class="language-html highlighter-rouge"><pre class="highlight"><code><span class="nt"><a></span>href<span class="nt"></a></span>
|
5
5
|
</code></pre>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div class="highlighter-rouge"><pre class="highlight"><code><span class="nv">$foo</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">Bar</span><span class="p">;</span>
|
8
|
+
<div class="language-php highlighter-rouge"><pre class="highlight"><code><span class="nv">$foo</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">Bar</span><span class="p">;</span>
|
9
9
|
</code></pre>
|
10
10
|
</div>
|
@@ -40,14 +40,10 @@ hallo
|
|
40
40
|
|
41
41
|
para6
|
42
42
|
|
43
|
-
<div><
|
43
|
+
<div><DiV cLASs="clear"></dIv>
|
44
44
|
Another para.
|
45
45
|
</div>
|
46
46
|
|
47
|
-
<webgen:block name="test" />
|
48
|
-
|
49
|
-
<some:url name:spac='hallo'>doit</some:url>
|
50
|
-
|
51
47
|
<em>Test</em>
|
52
48
|
|
53
49
|
<p><em>Test</em></p>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<div class="highlighter-coderay"><span class="CodeRay">x = <span class="constant">Class</span>.new
|
1
|
+
<div class="language-ruby highlighter-coderay"><span class="CodeRay">x = <span class="constant">Class</span>.new
|
2
2
|
</span>
|
3
3
|
</div>
|
4
4
|
|
5
|
-
<div class="highlighter-coderay"><span class="CodeRay">x = <span class="constant">Class</span>.new
|
5
|
+
<div class="language-ruby highlighter-coderay"><span class="CodeRay">x = <span class="constant">Class</span>.new
|
6
6
|
</span>
|
7
7
|
</div>
|
@@ -7,13 +7,13 @@
|
|
7
7
|
<pre><code>Unbalanced bottom heavy
|
8
8
|
</code></pre>
|
9
9
|
|
10
|
-
<div class="highlighter-coderay"><div class="CodeRay">
|
10
|
+
<div class="language-ruby highlighter-coderay"><div class="CodeRay">
|
11
11
|
<div class="code"><pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span>language no space
|
12
12
|
</pre></div>
|
13
13
|
</div>
|
14
14
|
</div>
|
15
15
|
|
16
|
-
<div class="highlighter-coderay"><div class="CodeRay">
|
16
|
+
<div class="language-ruby highlighter-coderay"><div class="CodeRay">
|
17
17
|
<div class="code"><pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span>language with space
|
18
18
|
</pre></div>
|
19
19
|
</div>
|
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: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Leitner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: prawn-table
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.2.2
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.2.2
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: ritex
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -428,6 +442,8 @@ files:
|
|
428
442
|
- test/testcases/block/09_html/simple.text
|
429
443
|
- test/testcases/block/09_html/textarea.html
|
430
444
|
- test/testcases/block/09_html/textarea.text
|
445
|
+
- test/testcases/block/09_html/xml.html
|
446
|
+
- test/testcases/block/09_html/xml.text
|
431
447
|
- test/testcases/block/10_ald/simple.html
|
432
448
|
- test/testcases/block/10_ald/simple.text
|
433
449
|
- test/testcases/block/11_ial/auto_id_and_ial.html
|
@@ -611,6 +627,8 @@ files:
|
|
611
627
|
- test/testcases/span/05_html/normal.text
|
612
628
|
- test/testcases/span/05_html/raw_span_elements.html
|
613
629
|
- test/testcases/span/05_html/raw_span_elements.text
|
630
|
+
- test/testcases/span/05_html/xml.html
|
631
|
+
- test/testcases/span/05_html/xml.text
|
614
632
|
- test/testcases/span/abbreviations/abbrev.html
|
615
633
|
- test/testcases/span/abbreviations/abbrev.text
|
616
634
|
- test/testcases/span/abbreviations/abbrev_defs.html
|