kramdown 0.13.2 → 0.13.3

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.

Files changed (39) hide show
  1. data/CONTRIBUTERS +1 -1
  2. data/ChangeLog +196 -0
  3. data/Rakefile +5 -3
  4. data/VERSION +1 -1
  5. data/data/kramdown/document.latex +1 -1
  6. data/doc/default.scss.css +7 -1
  7. data/doc/index.page +1 -1
  8. data/doc/quickref.page +29 -8
  9. data/doc/tests.page +1 -1
  10. data/lib/kramdown/converter/base.rb +5 -5
  11. data/lib/kramdown/converter/html.rb +14 -15
  12. data/lib/kramdown/converter/kramdown.rb +5 -3
  13. data/lib/kramdown/converter/latex.rb +16 -16
  14. data/lib/kramdown/document.rb +47 -50
  15. data/lib/kramdown/parser/base.rb +8 -8
  16. data/lib/kramdown/parser/html.rb +56 -36
  17. data/lib/kramdown/parser/kramdown.rb +5 -5
  18. data/lib/kramdown/parser/kramdown/extensions.rb +2 -2
  19. data/lib/kramdown/parser/kramdown/link.rb +1 -1
  20. data/lib/kramdown/parser/kramdown/table.rb +3 -3
  21. data/lib/kramdown/utils/html.rb +6 -7
  22. data/lib/kramdown/utils/ordered_hash.rb +17 -0
  23. data/lib/kramdown/version.rb +1 -1
  24. data/test/test_files.rb +35 -0
  25. data/test/testcases/block/09_html/content_model/tables.html +8 -8
  26. data/test/testcases/block/09_html/content_model/tables.text +1 -1
  27. data/test/testcases/block/09_html/html_and_headers.html +5 -0
  28. data/test/testcases/block/09_html/html_and_headers.text +6 -0
  29. data/test/testcases/block/09_html/html_to_native/emphasis.html +2 -1
  30. data/test/testcases/block/09_html/html_to_native/table_normal.html +10 -12
  31. data/test/testcases/block/09_html/html_to_native/table_simple.html +11 -11
  32. data/test/testcases/block/14_table/header.html +9 -16
  33. data/test/testcases/block/14_table/simple.html +19 -0
  34. data/test/testcases/block/14_table/simple.html.19 +19 -0
  35. data/test/testcases/block/14_table/simple.text +6 -0
  36. data/test/testcases/block/14_table/table_with_footnote.html +25 -0
  37. data/test/testcases/block/14_table/table_with_footnote.latex +11 -0
  38. data/test/testcases/block/14_table/table_with_footnote.text +6 -0
  39. metadata +8 -3
@@ -0,0 +1,11 @@
1
+ \begin{longtable}{|l|l|}
2
+ \hline
3
+ this is \footnote{Something
4
+
5
+ \begin{quote}
6
+ special here
7
+ \end{quote}} & a table\\
8
+ with a & footnote\\
9
+ \hline
10
+ \end{longtable}
11
+
@@ -0,0 +1,6 @@
1
+ | this is [^1] | a table
2
+ | with a | footnote
3
+
4
+ [^1]: Something
5
+
6
+ > special here
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 13
8
- - 2
9
- version: 0.13.2
8
+ - 3
9
+ version: 0.13.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Thomas Leitner
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-21 00:00:00 +01:00
17
+ date: 2011-05-06 00:00:00 +02:00
18
18
  default_executable: kramdown
19
19
  dependencies: []
20
20
 
@@ -216,8 +216,10 @@ files:
216
216
  - test/testcases/block/03_paragraph/indented.text
217
217
  - test/testcases/block/03_paragraph/indented.html
218
218
  - test/testcases/block/03_paragraph/no_newline_at_end.html
219
+ - test/testcases/block/14_table/table_with_footnote.text
219
220
  - test/testcases/block/14_table/errors.text
220
221
  - test/testcases/block/14_table/simple.html
222
+ - test/testcases/block/14_table/table_with_footnote.latex
221
223
  - test/testcases/block/14_table/escaping.text
222
224
  - test/testcases/block/14_table/escaping.html
223
225
  - test/testcases/block/14_table/simple.text
@@ -228,6 +230,7 @@ files:
228
230
  - test/testcases/block/14_table/errors.html
229
231
  - test/testcases/block/14_table/footer.html
230
232
  - test/testcases/block/14_table/no_table.text
233
+ - test/testcases/block/14_table/table_with_footnote.html
231
234
  - test/testcases/block/14_table/simple.html.19
232
235
  - test/testcases/block/12_extension/options2.text
233
236
  - test/testcases/block/12_extension/comment.text
@@ -246,6 +249,7 @@ files:
246
249
  - test/testcases/block/09_html/html_and_codeblocks.options
247
250
  - test/testcases/block/09_html/comment.text
248
251
  - test/testcases/block/09_html/invalid_html_1.text
252
+ - test/testcases/block/09_html/html_and_headers.text
249
253
  - test/testcases/block/09_html/simple.html
250
254
  - test/testcases/block/09_html/parse_as_raw.text
251
255
  - test/testcases/block/09_html/invalid_html_1.html
@@ -294,6 +298,7 @@ files:
294
298
  - test/testcases/block/09_html/parse_as_raw.html
295
299
  - test/testcases/block/09_html/parse_as_span.text
296
300
  - test/testcases/block/09_html/html_and_codeblocks.text
301
+ - test/testcases/block/09_html/html_and_headers.html
297
302
  - test/testcases/block/09_html/not_parsed.html
298
303
  - test/testcases/block/09_html/parse_block_html.options
299
304
  - test/testcases/block/09_html/content_model/deflists.html