kramdown 0.13.3 → 0.13.4
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.
- data/CONTRIBUTERS +5 -1
- data/ChangeLog +192 -0
- data/Rakefile +4 -3
- data/VERSION +1 -1
- data/bin/kramdown +1 -1
- data/doc/index.page +1 -1
- data/doc/tests.page +1 -1
- data/lib/kramdown/converter.rb +1 -0
- data/lib/kramdown/converter/html.rb +3 -3
- data/lib/kramdown/converter/toc.rb +82 -0
- data/lib/kramdown/document.rb +1 -494
- data/lib/kramdown/element.rb +524 -0
- data/lib/kramdown/parser/html.rb +11 -11
- data/lib/kramdown/parser/kramdown.rb +1 -1
- data/lib/kramdown/parser/kramdown/header.rb +1 -1
- data/lib/kramdown/parser/kramdown/html.rb +11 -11
- data/lib/kramdown/parser/kramdown/smart_quotes.rb +1 -1
- data/lib/kramdown/version.rb +1 -1
- data/setup.rb +1 -1
- data/test/test_files.rb +3 -3
- data/test/testcases/block/09_html/parse_as_raw.html +3 -0
- data/test/testcases/block/09_html/parse_as_raw.htmlinput +34 -0
- data/test/testcases/block/09_html/parse_as_raw.text +3 -1
- data/test/testcases/block/09_html/parse_as_span.htmlinput +12 -0
- data/test/testcases/block/09_html/parse_as_span.text +1 -1
- data/test/testcases/block/09_html/parse_block_html.text +2 -2
- data/test/testcases/block/12_extension/options.html +1 -1
- data/test/testcases/block/12_extension/options2.html +1 -1
- data/test/testcases/block/12_extension/options3.html +2 -2
- data/test/testcases/block/14_table/table_with_footnote.html +1 -1
- data/test/testcases/span/04_footnote/footnote_nr.html +2 -2
- data/test/testcases/span/04_footnote/markers.html +5 -5
- data/test/testcases/span/05_html/normal.html +4 -2
- data/test/testcases/span/05_html/normal.text +6 -4
- metadata +40 -40
data/lib/kramdown/parser/html.rb
CHANGED
@@ -51,7 +51,7 @@ module Kramdown
|
|
51
51
|
HTML_CONTENT_MODEL_SPAN = %w{a abbr acronym b bdo big button cite caption del dfn dt em
|
52
52
|
h1 h2 h3 h4 h5 h6 i ins kbd label legend optgroup p q rb rbc
|
53
53
|
rp rt rtc ruby samp select small span strong sub sup summary th tt var}
|
54
|
-
HTML_CONTENT_MODEL_RAW = %w{script math option textarea pre code}
|
54
|
+
HTML_CONTENT_MODEL_RAW = %w{script style math option textarea pre code}
|
55
55
|
# The following elements are also parsed as raw since they need child elements that cannot
|
56
56
|
# be expressed using kramdown syntax: colgroup table tbody thead tfoot tr ul ol
|
57
57
|
|
@@ -86,7 +86,7 @@ module Kramdown
|
|
86
86
|
# (first parameter is the created element, the second parameter is +true+ if the HTML
|
87
87
|
# element is already closed, ie. contains no body).
|
88
88
|
def handle_html_start_tag # :yields: el, closed
|
89
|
-
name = @src[1]
|
89
|
+
name = @src[1].downcase
|
90
90
|
closed = !@src[4].nil?
|
91
91
|
attrs = Utils::OrderedHash.new
|
92
92
|
@src[2].scan(HTML_ATTRIBUTE_RE).each {|attr,sep,val| attrs[attr] = val}
|
@@ -98,24 +98,24 @@ module Kramdown
|
|
98
98
|
warning("The HTML tag '#{el.value}' cannot have any content - auto-closing it")
|
99
99
|
closed = true
|
100
100
|
end
|
101
|
-
if name == 'script'
|
102
|
-
|
101
|
+
if name == 'script' || name == 'style'
|
102
|
+
handle_raw_html_tag(name)
|
103
103
|
yield(el, true)
|
104
104
|
else
|
105
105
|
yield(el, closed)
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
109
|
-
# Handle the HTML
|
110
|
-
def
|
109
|
+
# Handle the raw HTML tag at the current position.
|
110
|
+
def handle_raw_html_tag(name)
|
111
111
|
curpos = @src.pos
|
112
|
-
if
|
112
|
+
if @src.scan_until(/(?=<\/#{name}\s*>)/mi)
|
113
113
|
add_text(extract_string(curpos...@src.pos, @src), @tree.children.last, :raw)
|
114
114
|
@src.scan(HTML_TAG_CLOSE_RE)
|
115
115
|
else
|
116
116
|
add_text(@src.rest, @tree.children.last, :raw)
|
117
117
|
@src.terminate
|
118
|
-
warning("Found no end tag for '
|
118
|
+
warning("Found no end tag for '#{name}' - auto-closing it")
|
119
119
|
end
|
120
120
|
end
|
121
121
|
|
@@ -145,10 +145,10 @@ module Kramdown
|
|
145
145
|
elsif @src.scan(HTML_TAG_RE)
|
146
146
|
handle_html_start_tag(&block)
|
147
147
|
elsif @src.scan(HTML_TAG_CLOSE_RE)
|
148
|
-
if @tree.value == @src[1]
|
148
|
+
if @tree.value == @src[1].downcase
|
149
149
|
done = true
|
150
150
|
else
|
151
|
-
warning("Found invalidly used HTML closing tag for '#{@src[1]}' - ignoring it")
|
151
|
+
warning("Found invalidly used HTML closing tag for '#{@src[1].downcase}' - ignoring it")
|
152
152
|
end
|
153
153
|
else
|
154
154
|
add_text(@src.getch, @tree, :text)
|
@@ -322,7 +322,7 @@ module Kramdown
|
|
322
322
|
|
323
323
|
def remove_whitespace_children(el)
|
324
324
|
i = -1
|
325
|
-
el.children.
|
325
|
+
el.children = el.children.reject do |c|
|
326
326
|
i += 1
|
327
327
|
c.type == :text && c.value.strip.empty? &&
|
328
328
|
(i == 0 || i == el.children.length - 1 || (Element.category(el.children[i-1]) == :block &&
|
@@ -205,7 +205,7 @@ module Kramdown
|
|
205
205
|
while !@src.eos? && !stop_re_found
|
206
206
|
if result = @src.scan_until(used_re)
|
207
207
|
add_text(result)
|
208
|
-
if stop_re &&
|
208
|
+
if stop_re && @src.check(stop_re)
|
209
209
|
stop_re_found = (block_given? ? yield : true)
|
210
210
|
end
|
211
211
|
processed = parsers.any? do |name|
|
@@ -52,7 +52,7 @@ module Kramdown
|
|
52
52
|
def parse_atx_header
|
53
53
|
return false if !after_block_boundary?
|
54
54
|
|
55
|
-
|
55
|
+
@src.scan(ATX_HEADER_MATCH)
|
56
56
|
level, text, id = @src[1], @src[2], @src[3]
|
57
57
|
text.strip!
|
58
58
|
el = new_block_el(:header, nil, nil, :level => level.length, :raw_text => text)
|
@@ -57,7 +57,7 @@ module Kramdown
|
|
57
57
|
end
|
58
58
|
elsif content_model == :span
|
59
59
|
curpos = @src.pos
|
60
|
-
if
|
60
|
+
if @src.scan_until(/(?=<\/#{el.value}\s*>)/mi)
|
61
61
|
add_text(extract_string(curpos...@src.pos, @src), el)
|
62
62
|
@src.scan(HTML_TAG_CLOSE_RE)
|
63
63
|
else
|
@@ -86,13 +86,13 @@ module Kramdown
|
|
86
86
|
@src.scan(TRAILING_WHITESPACE)
|
87
87
|
true
|
88
88
|
else
|
89
|
-
if result = @src.check(/^#{OPT_SPACE}#{HTML_TAG_RE}/) && !HTML_SPAN_ELEMENTS.include?(@src[1])
|
89
|
+
if result = @src.check(/^#{OPT_SPACE}#{HTML_TAG_RE}/) && !HTML_SPAN_ELEMENTS.include?(@src[1].downcase)
|
90
90
|
@src.pos += @src.matched_size
|
91
91
|
handle_html_start_tag(&method(:handle_kramdown_html_tag))
|
92
92
|
Kramdown::Parser::Html::ElementConverter.convert(@root, @tree.children.last) if @options[:html_to_native]
|
93
93
|
true
|
94
|
-
elsif result = @src.check(/^#{OPT_SPACE}#{HTML_TAG_CLOSE_RE}/) && !HTML_SPAN_ELEMENTS.include?(@src[1])
|
95
|
-
name = @src[1]
|
94
|
+
elsif result = @src.check(/^#{OPT_SPACE}#{HTML_TAG_CLOSE_RE}/) && !HTML_SPAN_ELEMENTS.include?(@src[1].downcase)
|
95
|
+
name = @src[1].downcase
|
96
96
|
|
97
97
|
if @tree.type == :html_element && @tree.value == name
|
98
98
|
@src.pos += @src.matched_size
|
@@ -120,32 +120,32 @@ module Kramdown
|
|
120
120
|
warning("Found invalidly used HTML closing tag for '#{@src[1]}'")
|
121
121
|
add_text(result)
|
122
122
|
elsif result = @src.scan(HTML_TAG_RE)
|
123
|
-
|
124
|
-
|
123
|
+
tag_name = @src[1].downcase
|
124
|
+
if HTML_BLOCK_ELEMENTS.include?(tag_name)
|
125
|
+
warning("Found block HTML tag '#{tag_name}' in span-level text")
|
125
126
|
add_text(result)
|
126
127
|
return
|
127
128
|
end
|
128
129
|
|
129
|
-
reset_pos = @src.pos
|
130
130
|
attrs = Utils::OrderedHash.new
|
131
131
|
@src[2].scan(HTML_ATTRIBUTE_RE).each {|name,sep,val| attrs[name] = val.gsub(/\n+/, ' ')}
|
132
132
|
|
133
|
-
do_parsing = (HTML_CONTENT_MODEL[
|
133
|
+
do_parsing = (HTML_CONTENT_MODEL[tag_name] == :raw || @tree.options[:content_model] == :raw ? false : @options[:parse_span_html])
|
134
134
|
if val = HTML_MARKDOWN_ATTR_MAP[attrs.delete('markdown')]
|
135
135
|
if val == :block
|
136
136
|
warning("Cannot use block-level parsing in span-level HTML tag - using default mode")
|
137
137
|
elsif val == :span
|
138
138
|
do_parsing = true
|
139
139
|
elsif val == :default
|
140
|
-
do_parsing = HTML_CONTENT_MODEL[
|
140
|
+
do_parsing = HTML_CONTENT_MODEL[tag_name] != :raw
|
141
141
|
elsif val == :raw
|
142
142
|
do_parsing = false
|
143
143
|
end
|
144
144
|
end
|
145
145
|
|
146
|
-
el = Element.new(:html_element,
|
146
|
+
el = Element.new(:html_element, tag_name, attrs, :category => :span, :content_model => (do_parsing ? :span : :raw))
|
147
147
|
@tree.children << el
|
148
|
-
stop_re = /<\/#{Regexp.escape(
|
148
|
+
stop_re = /<\/#{Regexp.escape(tag_name)}\s*>/i
|
149
149
|
if !@src[4] && HTML_ELEMENTS_WITHOUT_BODY.include?(el.value)
|
150
150
|
warning("The HTML tag '#{el.value}' cannot have any content - auto-closing it")
|
151
151
|
elsif !@src[4]
|
@@ -197,7 +197,7 @@ module Kramdown
|
|
197
197
|
|
198
198
|
# Parse the smart quotes at current location.
|
199
199
|
def parse_smart_quotes
|
200
|
-
|
200
|
+
substs = SQ_RULES.find {|reg, subst| @src.scan(reg)}[1]
|
201
201
|
substs.each do |subst|
|
202
202
|
if subst.kind_of?(Integer)
|
203
203
|
add_text(@src[subst])
|
data/lib/kramdown/version.rb
CHANGED
data/setup.rb
CHANGED
data/test/test_files.rb
CHANGED
@@ -56,11 +56,12 @@ class TestFiles < Test::Unit::TestCase
|
|
56
56
|
'test/testcases/block/09_html/simple.html', # bc of xml elements
|
57
57
|
'test/testcases/span/03_codespan/highlighting.html', # bc of span elements inside code element
|
58
58
|
]
|
59
|
-
Dir[File.dirname(__FILE__) + '/testcases/**/*.html'].each do |html_file|
|
59
|
+
Dir[File.dirname(__FILE__) + '/testcases/**/*.{html, htmlinput}'].each do |html_file|
|
60
60
|
next if EXCLUDE_HTML_FILES.any? {|f| html_file =~ /#{f}$/}
|
61
|
+
out_file = (html_file =~ /\.htmlinput$/ ? html_file.sub(/input$/, '') : html_file)
|
61
62
|
define_method('test_' + html_file.tr('.', '_') + "_to_html") do
|
62
63
|
doc = Kramdown::Document.new(File.read(html_file), :input => 'html', :auto_ids => false, :footnote_nr => 1)
|
63
|
-
assert_equal(tidy_output(File.read(
|
64
|
+
assert_equal(tidy_output(File.read(out_file)), tidy_output(doc.to_html))
|
64
65
|
end
|
65
66
|
end
|
66
67
|
end
|
@@ -163,7 +164,6 @@ class TestFiles < Test::Unit::TestCase
|
|
163
164
|
|
164
165
|
# Generate test methods for asserting that converters don't modify the document tree.
|
165
166
|
Dir[File.dirname(__FILE__) + '/testcases/**/*.text'].each do |text_file|
|
166
|
-
basename = text_file.sub(/\.text$/, '')
|
167
167
|
opts_file = text_file.sub(/\.text$/, '.options')
|
168
168
|
options = File.exist?(opts_file) ? YAML::load(File.read(opts_file)) : {:auto_ids => false, :footnote_nr => 1}
|
169
169
|
(Kramdown::Converter.constants.map {|c| c.to_sym} - [:Base]).each do |conv_class|
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<p>baz { |qux| quux }</p>
|
2
|
+
|
3
|
+
<p>This is some para.
|
4
|
+
<script type="javascript">
|
5
|
+
This *text* must not be converted.
|
6
|
+
</SCRIPT></p>
|
7
|
+
|
8
|
+
<script>Not *parsed* here</script>
|
9
|
+
|
10
|
+
<sCRIpt>*not*</script>
|
11
|
+
<p><em>parsed</em>
|
12
|
+
This too
|
13
|
+
</p>
|
14
|
+
|
15
|
+
<script>*not*<p>*parsed*
|
16
|
+
This too
|
17
|
+
</p></script>
|
18
|
+
|
19
|
+
<sCRIpt>something<p>*not*</p></scrIPt>
|
20
|
+
|
21
|
+
<script></script>
|
22
|
+
|
23
|
+
<script>
|
24
|
+
This should be output
|
25
|
+
<p> *as* is
|
26
|
+
</p> and nothing should be done
|
27
|
+
about it
|
28
|
+
</not>
|
29
|
+
</p>
|
30
|
+
</script>
|
31
|
+
|
32
|
+
<p><a href="http://example.com">http://example.com</a></p>
|
33
|
+
|
34
|
+
<style> body > * { background-color: Red; } </style>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
This is some para.
|
4
4
|
<script type="javascript">
|
5
5
|
This *text* must not be converted.
|
6
|
-
</
|
6
|
+
</SCRIPT>
|
7
7
|
|
8
8
|
<script>Not *parsed* here</script>
|
9
9
|
|
@@ -29,3 +29,5 @@ about it
|
|
29
29
|
</script>
|
30
30
|
|
31
31
|
<http://example.com>
|
32
|
+
|
33
|
+
<style> body > * { background-color: Red; } </style>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<div><span class="CodeRay">x = <span class="
|
1
|
+
<div><span class="CodeRay">x = <span class="constant">Class</span>.new
|
2
2
|
</span>
|
3
3
|
</div>
|
4
4
|
|
5
|
-
<div><span class="CodeRay">x = <span class="
|
5
|
+
<div><span class="CodeRay">x = <span class="constant">Class</span>.new
|
6
6
|
</span>
|
7
7
|
</div>
|
@@ -3,10 +3,10 @@
|
|
3
3
|
<div class="footnotes">
|
4
4
|
<ol start="35">
|
5
5
|
<li id="fn:ab">
|
6
|
-
<p>Some text.<a href="#fnref:ab"
|
6
|
+
<p>Some text.<a href="#fnref:ab" rel="reference">↩</a></p>
|
7
7
|
</li>
|
8
8
|
<li id="fn:bc">
|
9
|
-
<p>Some other text.<a href="#fnref:bc"
|
9
|
+
<p>Some other text.<a href="#fnref:bc" rel="reference">↩</a></p>
|
10
10
|
</li>
|
11
11
|
</ol>
|
12
12
|
</div>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<div class="footnotes">
|
18
18
|
<ol>
|
19
19
|
<li id="fn:fn">
|
20
|
-
<p>Some foot note text<a href="#fnref:fn"
|
20
|
+
<p>Some foot note text<a href="#fnref:fn" rel="reference">↩</a></p>
|
21
21
|
</li>
|
22
22
|
<li id="fn:3">
|
23
23
|
<p>other text
|
@@ -26,21 +26,21 @@ with more lines</p>
|
|
26
26
|
<blockquote>
|
27
27
|
<p>and a quote</p>
|
28
28
|
</blockquote>
|
29
|
-
<p><a href="#fnref:3"
|
29
|
+
<p><a href="#fnref:3" rel="reference">↩</a></p>
|
30
30
|
</li>
|
31
31
|
<li id="fn:1">
|
32
|
-
<p>some <em>text</em><a href="#fnref:1"
|
32
|
+
<p>some <em>text</em><a href="#fnref:1" rel="reference">↩</a></p>
|
33
33
|
</li>
|
34
34
|
<li id="fn:now">
|
35
35
|
|
36
36
|
<pre><code>code block
|
37
37
|
continued here
|
38
38
|
</code></pre>
|
39
|
-
<p><a href="#fnref:now"
|
39
|
+
<p><a href="#fnref:now" rel="reference">↩</a></p>
|
40
40
|
</li>
|
41
41
|
<li id="fn:empty">
|
42
42
|
|
43
|
-
<p><a href="#fnref:empty"
|
43
|
+
<p><a href="#fnref:empty" rel="reference">↩</a></p>
|
44
44
|
</li>
|
45
45
|
</ol>
|
46
46
|
</div>
|
@@ -15,13 +15,15 @@ now </span>.</p>
|
|
15
15
|
<p>This is <span>tag
|
16
16
|
</span> now.</p>
|
17
17
|
|
18
|
-
<p>This is <
|
18
|
+
<p>This is an empty <span></span> tag.</p>
|
19
|
+
|
20
|
+
<p>This is <em>something<span test="do_it"></span> strange</em>.</p>
|
19
21
|
|
20
22
|
<p>Auto-closing: <br /></p>
|
21
23
|
|
22
24
|
<p>Expanding: <textarea></textarea></p>
|
23
25
|
|
24
|
-
<p>An invalid tag: <
|
26
|
+
<p>An invalid tag: <hR></p>
|
25
27
|
|
26
28
|
<p>A <p>block tag</p>.</p>
|
27
29
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
Empty <a name="anchor" id="anchor"></
|
1
|
+
Empty <a name="anchor" id="anchor"></A>!
|
2
2
|
|
3
3
|
<a href="test">title</a> is a title.
|
4
4
|
|
@@ -12,8 +12,10 @@ This is <!-- a
|
|
12
12
|
This is <span>tag
|
13
13
|
now </span>.
|
14
14
|
|
15
|
-
This is <
|
16
|
-
</
|
15
|
+
This is <sPAn>tag
|
16
|
+
</SPAN> now.
|
17
|
+
|
18
|
+
This is an empty <span></span> tag.
|
17
19
|
|
18
20
|
This is _something<span test="do_it" /> strange_.
|
19
21
|
|
@@ -21,7 +23,7 @@ Auto-closing: <br>
|
|
21
23
|
|
22
24
|
Expanding: <textarea></textarea>
|
23
25
|
|
24
|
-
An invalid tag: <
|
26
|
+
An invalid tag: <hR>
|
25
27
|
|
26
28
|
A <p>block tag</p>.
|
27
29
|
|
metadata
CHANGED
@@ -1,35 +1,39 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: kramdown
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 13
|
8
|
-
- 3
|
9
|
-
version: 0.13.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.13.4
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Thomas Leitner
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
12
|
+
date: 2011-12-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: coderay
|
16
|
+
requirement: &13137080 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.0.0
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *13137080
|
25
|
+
description: ! 'kramdown is yet-another-markdown-parser but fast, pure Ruby,
|
16
26
|
|
17
|
-
date: 2011-05-06 00:00:00 +02:00
|
18
|
-
default_executable: kramdown
|
19
|
-
dependencies: []
|
20
|
-
|
21
|
-
description: |
|
22
|
-
kramdown is yet-another-markdown-parser but fast, pure Ruby,
|
23
27
|
using a strict syntax definition and supporting several common extensions.
|
24
28
|
|
29
|
+
'
|
25
30
|
email: t_leitner@gmx.at
|
26
|
-
executables:
|
31
|
+
executables:
|
27
32
|
- kramdown
|
28
33
|
extensions: []
|
29
|
-
|
30
|
-
extra_rdoc_files:
|
34
|
+
extra_rdoc_files:
|
31
35
|
- README
|
32
|
-
files:
|
36
|
+
files:
|
33
37
|
- Rakefile
|
34
38
|
- setup.rb
|
35
39
|
- COPYING
|
@@ -82,10 +86,12 @@ files:
|
|
82
86
|
- lib/kramdown/utils/ordered_hash.rb
|
83
87
|
- lib/kramdown/version.rb
|
84
88
|
- lib/kramdown/error.rb
|
89
|
+
- lib/kramdown/element.rb
|
85
90
|
- lib/kramdown/converter/base.rb
|
86
91
|
- lib/kramdown/converter/latex.rb
|
87
92
|
- lib/kramdown/converter/html.rb
|
88
93
|
- lib/kramdown/converter/kramdown.rb
|
94
|
+
- lib/kramdown/converter/toc.rb
|
89
95
|
- lib/kramdown/converter.rb
|
90
96
|
- lib/kramdown/parser.rb
|
91
97
|
- lib/kramdown/compatibility.rb
|
@@ -293,6 +299,7 @@ files:
|
|
293
299
|
- test/testcases/block/09_html/processing_instruction.text
|
294
300
|
- test/testcases/block/09_html/simple.options
|
295
301
|
- test/testcases/block/09_html/processing_instruction.html
|
302
|
+
- test/testcases/block/09_html/parse_as_span.htmlinput
|
296
303
|
- test/testcases/block/09_html/comment.html
|
297
304
|
- test/testcases/block/09_html/parse_as_raw.options
|
298
305
|
- test/testcases/block/09_html/parse_as_raw.html
|
@@ -307,6 +314,7 @@ files:
|
|
307
314
|
- test/testcases/block/09_html/content_model/tables.text
|
308
315
|
- test/testcases/block/09_html/content_model/deflists.options
|
309
316
|
- test/testcases/block/09_html/content_model/deflists.text
|
317
|
+
- test/testcases/block/09_html/parse_as_raw.htmlinput
|
310
318
|
- test/testcases/block/09_html/not_parsed.text
|
311
319
|
- test/testcases/block/09_html/simple.html.19
|
312
320
|
- test/testcases/block/08_list/special_cases.html
|
@@ -436,38 +444,30 @@ files:
|
|
436
444
|
- test/testcases/block/06_codeblock/normal.text
|
437
445
|
- test/testcases/encoding.html
|
438
446
|
- test/test_files.rb
|
439
|
-
has_rdoc: true
|
440
447
|
homepage: http://kramdown.rubyforge.org
|
441
448
|
licenses: []
|
442
|
-
|
443
449
|
post_install_message:
|
444
|
-
rdoc_options:
|
450
|
+
rdoc_options:
|
445
451
|
- --main
|
446
452
|
- README
|
447
|
-
require_paths:
|
453
|
+
require_paths:
|
448
454
|
- lib
|
449
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
455
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
450
456
|
none: false
|
451
|
-
requirements:
|
452
|
-
- -
|
453
|
-
- !ruby/object:Gem::Version
|
454
|
-
|
455
|
-
|
456
|
-
version: "0"
|
457
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
457
|
+
requirements:
|
458
|
+
- - ! '>='
|
459
|
+
- !ruby/object:Gem::Version
|
460
|
+
version: '0'
|
461
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
458
462
|
none: false
|
459
|
-
requirements:
|
460
|
-
- -
|
461
|
-
- !ruby/object:Gem::Version
|
462
|
-
|
463
|
-
- 0
|
464
|
-
version: "0"
|
463
|
+
requirements:
|
464
|
+
- - ! '>='
|
465
|
+
- !ruby/object:Gem::Version
|
466
|
+
version: '0'
|
465
467
|
requirements: []
|
466
|
-
|
467
468
|
rubyforge_project: kramdown
|
468
|
-
rubygems_version: 1.
|
469
|
+
rubygems_version: 1.8.10
|
469
470
|
signing_key:
|
470
471
|
specification_version: 3
|
471
472
|
summary: kramdown is a fast, pure-Ruby Markdown-superset converter.
|
472
473
|
test_files: []
|
473
|
-
|