ybelkada HF Staff commited on
Commit
bd8780f
·
verified ·
1 Parent(s): f70f27a

Harbor format: 871 coding_baseline tasks (part 36)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/expected-panels.json +951 -0
  2. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/grade.py +128 -0
  3. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/panel-config.json +24 -0
  4. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/test.sh +6 -0
  5. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted-inventory.json +212 -0
  6. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/pyproject.toml +69 -0
  7. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/setup.py +3 -0
  8. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/__init__.py +40 -0
  9. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/__init__.py +56 -0
  10. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/abbr.txt +79 -0
  11. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/commonmark.json +0 -0
  12. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/def_list.txt +172 -0
  13. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/diff-commonmark.txt +76 -0
  14. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_admonition.txt +129 -0
  15. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_figure.txt +166 -0
  16. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_image.txt +102 -0
  17. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_toc.txt +237 -0
  18. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fix-commonmark.txt +123 -0
  19. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/footnotes.txt +45 -0
  20. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/hook_toc.txt +122 -0
  21. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/hello.md +1 -0
  22. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/hello.txt +1 -0
  23. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/text.html +1 -0
  24. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/text.md +12 -0
  25. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/insert.txt +62 -0
  26. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/mark.txt +61 -0
  27. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/math.txt +57 -0
  28. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/renderer_markdown.txt +299 -0
  29. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/renderer_rst.txt +250 -0
  30. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/rst_admonition.txt +46 -0
  31. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/rst_toc.txt +223 -0
  32. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/ruby.txt +64 -0
  33. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/spoiler.txt +74 -0
  34. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/strikethrough.txt +46 -0
  35. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/subscript.txt +26 -0
  36. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/superscript.txt +26 -0
  37. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/table.txt +258 -0
  38. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/task_lists.txt +108 -0
  39. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/url.txt +22 -0
  40. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_commonmark.py +76 -0
  41. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_directives.py +93 -0
  42. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_hooks.py +26 -0
  43. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_misc.py +137 -0
  44. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_plugins.py +66 -0
  45. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_renderers.py +17 -0
  46. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_syntax.py +12 -0
  47. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/canaries/first-hunk-only.sh +21 -0
  48. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/canaries/original-bug.sh +3 -0
  49. tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/openenv.json +27 -0
  50. tasks/lepture__mistune.bf54ef67.combine_file__d7rfqbr0/LICENSE.source +14 -0
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/expected-panels.json ADDED
@@ -0,0 +1,951 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fail-to-pass": [
3
+ "tests/test_commonmark.py::TestCommonMark::test_links_539",
4
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_001",
5
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_002",
6
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_004",
7
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_005",
8
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_006",
9
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_007",
10
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_008",
11
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_009",
12
+ "tests/test_renderers.py::TestRendererRst::test_code_001",
13
+ "tests/test_renderers.py::TestRendererRst::test_code_002",
14
+ "tests/test_renderers.py::TestRendererRst::test_heading_001",
15
+ "tests/test_renderers.py::TestRendererRst::test_html_001",
16
+ "tests/test_renderers.py::TestRendererRst::test_images_002",
17
+ "tests/test_renderers.py::TestRendererRst::test_images_003",
18
+ "tests/test_renderers.py::TestRendererRst::test_inline_001",
19
+ "tests/test_renderers.py::TestRendererRst::test_inline_002",
20
+ "tests/test_renderers.py::TestRendererRst::test_line_break_001",
21
+ "tests/test_renderers.py::TestRendererRst::test_links_001",
22
+ "tests/test_renderers.py::TestRendererRst::test_list_001",
23
+ "tests/test_renderers.py::TestRendererRst::test_list_002",
24
+ "tests/test_renderers.py::TestRendererRst::test_list_003",
25
+ "tests/test_renderers.py::TestRendererRst::test_list_004",
26
+ "tests/test_renderers.py::TestRendererRst::test_list_005",
27
+ "tests/test_renderers.py::TestRendererRst::test_quote_001",
28
+ "tests/test_renderers.py::TestRendererRst::test_quote_002",
29
+ "tests/test_renderers.py::TestRendererRst::test_quote_003",
30
+ "tests/test_renderers.py::TestRendererRst::test_thematic_break_001",
31
+ "tests/test_renderers.py::TestRendererMarkdown::test_code_001",
32
+ "tests/test_renderers.py::TestRendererMarkdown::test_code_002",
33
+ "tests/test_renderers.py::TestRendererMarkdown::test_code_003",
34
+ "tests/test_renderers.py::TestRendererMarkdown::test_code_004",
35
+ "tests/test_renderers.py::TestRendererMarkdown::test_code_005",
36
+ "tests/test_renderers.py::TestRendererMarkdown::test_heading_001",
37
+ "tests/test_renderers.py::TestRendererMarkdown::test_html_001",
38
+ "tests/test_renderers.py::TestRendererMarkdown::test_inline_001",
39
+ "tests/test_renderers.py::TestRendererMarkdown::test_linebreak_001",
40
+ "tests/test_renderers.py::TestRendererMarkdown::test_links_003",
41
+ "tests/test_renderers.py::TestRendererMarkdown::test_list_001",
42
+ "tests/test_renderers.py::TestRendererMarkdown::test_list_002",
43
+ "tests/test_renderers.py::TestRendererMarkdown::test_list_003",
44
+ "tests/test_renderers.py::TestRendererMarkdown::test_list_004",
45
+ "tests/test_renderers.py::TestRendererMarkdown::test_list_005",
46
+ "tests/test_renderers.py::TestRendererMarkdown::test_list_006",
47
+ "tests/test_renderers.py::TestRendererMarkdown::test_quote_001",
48
+ "tests/test_renderers.py::TestRendererMarkdown::test_quote_002",
49
+ "tests/test_renderers.py::TestRendererMarkdown::test_thematic_break_001"
50
+ ],
51
+ "pass-to-pass": [
52
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_062",
53
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_063",
54
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_064",
55
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_065",
56
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_066",
57
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_067",
58
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_068",
59
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_069",
60
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_070",
61
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_071",
62
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_072",
63
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_073",
64
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_074",
65
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_075",
66
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_076",
67
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_077",
68
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_078",
69
+ "tests/test_commonmark.py::TestCommonMark::test_atx_headings_079",
70
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_593",
71
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_594",
72
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_595",
73
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_596",
74
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_597",
75
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_598",
76
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_599",
77
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_600",
78
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_601",
79
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_602",
80
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_603",
81
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_604",
82
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_605",
83
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_606",
84
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_607",
85
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_608",
86
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_609",
87
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_610",
88
+ "tests/test_commonmark.py::TestCommonMark::test_autolinks_611",
89
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_012",
90
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_013",
91
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_014",
92
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_015",
93
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_016",
94
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_017",
95
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_018",
96
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_019",
97
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_020",
98
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_021",
99
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_022",
100
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_023",
101
+ "tests/test_commonmark.py::TestCommonMark::test_backslash_escapes_024",
102
+ "tests/test_commonmark.py::TestCommonMark::test_blank_lines_227",
103
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_228",
104
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_229",
105
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_230",
106
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_231",
107
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_232",
108
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_233",
109
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_234",
110
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_235",
111
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_236",
112
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_237",
113
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_238",
114
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_239",
115
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_240",
116
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_241",
117
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_242",
118
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_243",
119
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_244",
120
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_245",
121
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_246",
122
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_247",
123
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_248",
124
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_249",
125
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_250",
126
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_251",
127
+ "tests/test_commonmark.py::TestCommonMark::test_block_quotes_252",
128
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_328",
129
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_329",
130
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_330",
131
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_331",
132
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_332",
133
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_333",
134
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_334",
135
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_335",
136
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_336",
137
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_337",
138
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_338",
139
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_339",
140
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_340",
141
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_341",
142
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_342",
143
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_343",
144
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_344",
145
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_345",
146
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_346",
147
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_347",
148
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_348",
149
+ "tests/test_commonmark.py::TestCommonMark::test_code_spans_349",
150
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_350",
151
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_351",
152
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_353",
153
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_354",
154
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_355",
155
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_356",
156
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_357",
157
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_358",
158
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_359",
159
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_360",
160
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_361",
161
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_362",
162
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_363",
163
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_364",
164
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_365",
165
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_366",
166
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_369",
167
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_370",
168
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_371",
169
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_373",
170
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_374",
171
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_375",
172
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_376",
173
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_377",
174
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_378",
175
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_380",
176
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_381",
177
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_382",
178
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_383",
179
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_384",
180
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_385",
181
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_386",
182
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_387",
183
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_389",
184
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_390",
185
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_392",
186
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_393",
187
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_394",
188
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_395",
189
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_396",
190
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_397",
191
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_398",
192
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_399",
193
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_400",
194
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_401",
195
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_402",
196
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_403",
197
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_404",
198
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_405",
199
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_409",
200
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_410",
201
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_411",
202
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_415",
203
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_419",
204
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_420",
205
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_421",
206
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_422",
207
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_423",
208
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_427",
209
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_428",
210
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_432",
211
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_433",
212
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_434",
213
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_435",
214
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_436",
215
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_437",
216
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_438",
217
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_439",
218
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_440",
219
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_447",
220
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_448",
221
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_449",
222
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_450",
223
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_451",
224
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_452",
225
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_459",
226
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_461",
227
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_466",
228
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_468",
229
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_469",
230
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_472",
231
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_473",
232
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_474",
233
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_475",
234
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_476",
235
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_479",
236
+ "tests/test_commonmark.py::TestCommonMark::test_emphasis_and_strong_emphasis_480",
237
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_025",
238
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_026",
239
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_027",
240
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_028",
241
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_029",
242
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_030",
243
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_031",
244
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_032",
245
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_033",
246
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_034",
247
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_035",
248
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_036",
249
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_037",
250
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_038",
251
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_039",
252
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_040",
253
+ "tests/test_commonmark.py::TestCommonMark::test_entity_and_numeric_character_references_041",
254
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_119",
255
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_120",
256
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_121",
257
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_122",
258
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_123",
259
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_124",
260
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_125",
261
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_126",
262
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_127",
263
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_128",
264
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_129",
265
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_130",
266
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_131",
267
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_132",
268
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_133",
269
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_134",
270
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_135",
271
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_136",
272
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_137",
273
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_138",
274
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_139",
275
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_140",
276
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_141",
277
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_142",
278
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_143",
279
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_144",
280
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_145",
281
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_146",
282
+ "tests/test_commonmark.py::TestCommonMark::test_fenced_code_blocks_147",
283
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_633",
284
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_634",
285
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_635",
286
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_636",
287
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_637",
288
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_638",
289
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_639",
290
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_640",
291
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_641",
292
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_642",
293
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_643",
294
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_644",
295
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_645",
296
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_646",
297
+ "tests/test_commonmark.py::TestCommonMark::test_hard_line_breaks_647",
298
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_148",
299
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_149",
300
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_150",
301
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_151",
302
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_152",
303
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_153",
304
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_154",
305
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_155",
306
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_156",
307
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_157",
308
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_158",
309
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_159",
310
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_160",
311
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_161",
312
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_162",
313
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_163",
314
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_164",
315
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_165",
316
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_166",
317
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_167",
318
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_168",
319
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_169",
320
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_170",
321
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_171",
322
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_172",
323
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_173",
324
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_174",
325
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_175",
326
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_176",
327
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_177",
328
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_178",
329
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_179",
330
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_180",
331
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_181",
332
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_182",
333
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_183",
334
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_184",
335
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_185",
336
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_186",
337
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_187",
338
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_188",
339
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_189",
340
+ "tests/test_commonmark.py::TestCommonMark::test_html_blocks_190",
341
+ "tests/test_commonmark.py::TestCommonMark::test_images_571",
342
+ "tests/test_commonmark.py::TestCommonMark::test_images_572",
343
+ "tests/test_commonmark.py::TestCommonMark::test_images_574",
344
+ "tests/test_commonmark.py::TestCommonMark::test_images_575",
345
+ "tests/test_commonmark.py::TestCommonMark::test_images_576",
346
+ "tests/test_commonmark.py::TestCommonMark::test_images_577",
347
+ "tests/test_commonmark.py::TestCommonMark::test_images_578",
348
+ "tests/test_commonmark.py::TestCommonMark::test_images_579",
349
+ "tests/test_commonmark.py::TestCommonMark::test_images_580",
350
+ "tests/test_commonmark.py::TestCommonMark::test_images_581",
351
+ "tests/test_commonmark.py::TestCommonMark::test_images_582",
352
+ "tests/test_commonmark.py::TestCommonMark::test_images_583",
353
+ "tests/test_commonmark.py::TestCommonMark::test_images_584",
354
+ "tests/test_commonmark.py::TestCommonMark::test_images_585",
355
+ "tests/test_commonmark.py::TestCommonMark::test_images_586",
356
+ "tests/test_commonmark.py::TestCommonMark::test_images_587",
357
+ "tests/test_commonmark.py::TestCommonMark::test_images_588",
358
+ "tests/test_commonmark.py::TestCommonMark::test_images_589",
359
+ "tests/test_commonmark.py::TestCommonMark::test_images_590",
360
+ "tests/test_commonmark.py::TestCommonMark::test_images_591",
361
+ "tests/test_commonmark.py::TestCommonMark::test_images_592",
362
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_107",
363
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_108",
364
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_109",
365
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_110",
366
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_111",
367
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_112",
368
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_113",
369
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_114",
370
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_115",
371
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_116",
372
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_117",
373
+ "tests/test_commonmark.py::TestCommonMark::test_indented_code_blocks_118",
374
+ "tests/test_commonmark.py::TestCommonMark::test_inlines_327",
375
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_192",
376
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_193",
377
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_194",
378
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_195",
379
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_196",
380
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_197",
381
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_198",
382
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_199",
383
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_200",
384
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_201",
385
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_202",
386
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_203",
387
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_204",
388
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_205",
389
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_206",
390
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_207",
391
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_208",
392
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_209",
393
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_210",
394
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_211",
395
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_212",
396
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_213",
397
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_214",
398
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_215",
399
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_216",
400
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_217",
401
+ "tests/test_commonmark.py::TestCommonMark::test_link_reference_definitions_218",
402
+ "tests/test_commonmark.py::TestCommonMark::test_links_481",
403
+ "tests/test_commonmark.py::TestCommonMark::test_links_482",
404
+ "tests/test_commonmark.py::TestCommonMark::test_links_483",
405
+ "tests/test_commonmark.py::TestCommonMark::test_links_484",
406
+ "tests/test_commonmark.py::TestCommonMark::test_links_485",
407
+ "tests/test_commonmark.py::TestCommonMark::test_links_486",
408
+ "tests/test_commonmark.py::TestCommonMark::test_links_487",
409
+ "tests/test_commonmark.py::TestCommonMark::test_links_488",
410
+ "tests/test_commonmark.py::TestCommonMark::test_links_489",
411
+ "tests/test_commonmark.py::TestCommonMark::test_links_490",
412
+ "tests/test_commonmark.py::TestCommonMark::test_links_491",
413
+ "tests/test_commonmark.py::TestCommonMark::test_links_492",
414
+ "tests/test_commonmark.py::TestCommonMark::test_links_493",
415
+ "tests/test_commonmark.py::TestCommonMark::test_links_494",
416
+ "tests/test_commonmark.py::TestCommonMark::test_links_497",
417
+ "tests/test_commonmark.py::TestCommonMark::test_links_498",
418
+ "tests/test_commonmark.py::TestCommonMark::test_links_499",
419
+ "tests/test_commonmark.py::TestCommonMark::test_links_500",
420
+ "tests/test_commonmark.py::TestCommonMark::test_links_501",
421
+ "tests/test_commonmark.py::TestCommonMark::test_links_502",
422
+ "tests/test_commonmark.py::TestCommonMark::test_links_503",
423
+ "tests/test_commonmark.py::TestCommonMark::test_links_505",
424
+ "tests/test_commonmark.py::TestCommonMark::test_links_506",
425
+ "tests/test_commonmark.py::TestCommonMark::test_links_507",
426
+ "tests/test_commonmark.py::TestCommonMark::test_links_508",
427
+ "tests/test_commonmark.py::TestCommonMark::test_links_509",
428
+ "tests/test_commonmark.py::TestCommonMark::test_links_510",
429
+ "tests/test_commonmark.py::TestCommonMark::test_links_511",
430
+ "tests/test_commonmark.py::TestCommonMark::test_links_512",
431
+ "tests/test_commonmark.py::TestCommonMark::test_links_513",
432
+ "tests/test_commonmark.py::TestCommonMark::test_links_514",
433
+ "tests/test_commonmark.py::TestCommonMark::test_links_515",
434
+ "tests/test_commonmark.py::TestCommonMark::test_links_516",
435
+ "tests/test_commonmark.py::TestCommonMark::test_links_520",
436
+ "tests/test_commonmark.py::TestCommonMark::test_links_521",
437
+ "tests/test_commonmark.py::TestCommonMark::test_links_522",
438
+ "tests/test_commonmark.py::TestCommonMark::test_links_523",
439
+ "tests/test_commonmark.py::TestCommonMark::test_links_524",
440
+ "tests/test_commonmark.py::TestCommonMark::test_links_525",
441
+ "tests/test_commonmark.py::TestCommonMark::test_links_526",
442
+ "tests/test_commonmark.py::TestCommonMark::test_links_527",
443
+ "tests/test_commonmark.py::TestCommonMark::test_links_528",
444
+ "tests/test_commonmark.py::TestCommonMark::test_links_529",
445
+ "tests/test_commonmark.py::TestCommonMark::test_links_530",
446
+ "tests/test_commonmark.py::TestCommonMark::test_links_533",
447
+ "tests/test_commonmark.py::TestCommonMark::test_links_534",
448
+ "tests/test_commonmark.py::TestCommonMark::test_links_535",
449
+ "tests/test_commonmark.py::TestCommonMark::test_links_536",
450
+ "tests/test_commonmark.py::TestCommonMark::test_links_537",
451
+ "tests/test_commonmark.py::TestCommonMark::test_links_538",
452
+ "tests/test_commonmark.py::TestCommonMark::test_links_540",
453
+ "tests/test_commonmark.py::TestCommonMark::test_links_541",
454
+ "tests/test_commonmark.py::TestCommonMark::test_links_542",
455
+ "tests/test_commonmark.py::TestCommonMark::test_links_543",
456
+ "tests/test_commonmark.py::TestCommonMark::test_links_544",
457
+ "tests/test_commonmark.py::TestCommonMark::test_links_545",
458
+ "tests/test_commonmark.py::TestCommonMark::test_links_546",
459
+ "tests/test_commonmark.py::TestCommonMark::test_links_547",
460
+ "tests/test_commonmark.py::TestCommonMark::test_links_548",
461
+ "tests/test_commonmark.py::TestCommonMark::test_links_549",
462
+ "tests/test_commonmark.py::TestCommonMark::test_links_550",
463
+ "tests/test_commonmark.py::TestCommonMark::test_links_551",
464
+ "tests/test_commonmark.py::TestCommonMark::test_links_552",
465
+ "tests/test_commonmark.py::TestCommonMark::test_links_553",
466
+ "tests/test_commonmark.py::TestCommonMark::test_links_554",
467
+ "tests/test_commonmark.py::TestCommonMark::test_links_555",
468
+ "tests/test_commonmark.py::TestCommonMark::test_links_556",
469
+ "tests/test_commonmark.py::TestCommonMark::test_links_557",
470
+ "tests/test_commonmark.py::TestCommonMark::test_links_558",
471
+ "tests/test_commonmark.py::TestCommonMark::test_links_559",
472
+ "tests/test_commonmark.py::TestCommonMark::test_links_560",
473
+ "tests/test_commonmark.py::TestCommonMark::test_links_561",
474
+ "tests/test_commonmark.py::TestCommonMark::test_links_562",
475
+ "tests/test_commonmark.py::TestCommonMark::test_links_563",
476
+ "tests/test_commonmark.py::TestCommonMark::test_links_564",
477
+ "tests/test_commonmark.py::TestCommonMark::test_links_565",
478
+ "tests/test_commonmark.py::TestCommonMark::test_links_566",
479
+ "tests/test_commonmark.py::TestCommonMark::test_links_567",
480
+ "tests/test_commonmark.py::TestCommonMark::test_links_568",
481
+ "tests/test_commonmark.py::TestCommonMark::test_links_569",
482
+ "tests/test_commonmark.py::TestCommonMark::test_links_570",
483
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_253",
484
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_254",
485
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_255",
486
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_256",
487
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_257",
488
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_258",
489
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_259",
490
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_260",
491
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_261",
492
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_262",
493
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_263",
494
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_264",
495
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_265",
496
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_266",
497
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_267",
498
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_268",
499
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_269",
500
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_270",
501
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_271",
502
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_272",
503
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_273",
504
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_274",
505
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_275",
506
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_276",
507
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_277",
508
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_278",
509
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_279",
510
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_280",
511
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_281",
512
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_282",
513
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_283",
514
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_284",
515
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_285",
516
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_286",
517
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_287",
518
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_288",
519
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_289",
520
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_290",
521
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_291",
522
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_292",
523
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_293",
524
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_294",
525
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_295",
526
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_296",
527
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_297",
528
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_298",
529
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_299",
530
+ "tests/test_commonmark.py::TestCommonMark::test_list_items_300",
531
+ "tests/test_commonmark.py::TestCommonMark::test_lists_301",
532
+ "tests/test_commonmark.py::TestCommonMark::test_lists_302",
533
+ "tests/test_commonmark.py::TestCommonMark::test_lists_303",
534
+ "tests/test_commonmark.py::TestCommonMark::test_lists_304",
535
+ "tests/test_commonmark.py::TestCommonMark::test_lists_305",
536
+ "tests/test_commonmark.py::TestCommonMark::test_lists_306",
537
+ "tests/test_commonmark.py::TestCommonMark::test_lists_307",
538
+ "tests/test_commonmark.py::TestCommonMark::test_lists_308",
539
+ "tests/test_commonmark.py::TestCommonMark::test_lists_309",
540
+ "tests/test_commonmark.py::TestCommonMark::test_lists_310",
541
+ "tests/test_commonmark.py::TestCommonMark::test_lists_311",
542
+ "tests/test_commonmark.py::TestCommonMark::test_lists_312",
543
+ "tests/test_commonmark.py::TestCommonMark::test_lists_313",
544
+ "tests/test_commonmark.py::TestCommonMark::test_lists_314",
545
+ "tests/test_commonmark.py::TestCommonMark::test_lists_315",
546
+ "tests/test_commonmark.py::TestCommonMark::test_lists_316",
547
+ "tests/test_commonmark.py::TestCommonMark::test_lists_317",
548
+ "tests/test_commonmark.py::TestCommonMark::test_lists_318",
549
+ "tests/test_commonmark.py::TestCommonMark::test_lists_319",
550
+ "tests/test_commonmark.py::TestCommonMark::test_lists_320",
551
+ "tests/test_commonmark.py::TestCommonMark::test_lists_321",
552
+ "tests/test_commonmark.py::TestCommonMark::test_lists_322",
553
+ "tests/test_commonmark.py::TestCommonMark::test_lists_323",
554
+ "tests/test_commonmark.py::TestCommonMark::test_lists_324",
555
+ "tests/test_commonmark.py::TestCommonMark::test_lists_325",
556
+ "tests/test_commonmark.py::TestCommonMark::test_lists_326",
557
+ "tests/test_commonmark.py::TestCommonMark::test_paragraphs_219",
558
+ "tests/test_commonmark.py::TestCommonMark::test_paragraphs_220",
559
+ "tests/test_commonmark.py::TestCommonMark::test_paragraphs_221",
560
+ "tests/test_commonmark.py::TestCommonMark::test_paragraphs_222",
561
+ "tests/test_commonmark.py::TestCommonMark::test_paragraphs_223",
562
+ "tests/test_commonmark.py::TestCommonMark::test_paragraphs_224",
563
+ "tests/test_commonmark.py::TestCommonMark::test_paragraphs_225",
564
+ "tests/test_commonmark.py::TestCommonMark::test_paragraphs_226",
565
+ "tests/test_commonmark.py::TestCommonMark::test_precedence_042",
566
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_612",
567
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_613",
568
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_614",
569
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_615",
570
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_616",
571
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_617",
572
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_618",
573
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_619",
574
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_620",
575
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_621",
576
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_622",
577
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_623",
578
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_624",
579
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_625",
580
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_626",
581
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_627",
582
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_628",
583
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_629",
584
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_630",
585
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_631",
586
+ "tests/test_commonmark.py::TestCommonMark::test_raw_html_632",
587
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_080",
588
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_081",
589
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_082",
590
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_083",
591
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_084",
592
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_085",
593
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_086",
594
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_087",
595
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_088",
596
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_089",
597
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_090",
598
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_091",
599
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_092",
600
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_094",
601
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_095",
602
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_096",
603
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_097",
604
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_098",
605
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_099",
606
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_100",
607
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_101",
608
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_102",
609
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_103",
610
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_104",
611
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_105",
612
+ "tests/test_commonmark.py::TestCommonMark::test_setext_headings_106",
613
+ "tests/test_commonmark.py::TestCommonMark::test_soft_line_breaks_648",
614
+ "tests/test_commonmark.py::TestCommonMark::test_soft_line_breaks_649",
615
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_003",
616
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_010",
617
+ "tests/test_commonmark.py::TestCommonMark::test_tabs_011",
618
+ "tests/test_commonmark.py::TestCommonMark::test_textual_content_650",
619
+ "tests/test_commonmark.py::TestCommonMark::test_textual_content_651",
620
+ "tests/test_commonmark.py::TestCommonMark::test_textual_content_652",
621
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_043",
622
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_044",
623
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_045",
624
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_046",
625
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_047",
626
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_048",
627
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_049",
628
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_050",
629
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_051",
630
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_052",
631
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_053",
632
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_054",
633
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_055",
634
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_056",
635
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_057",
636
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_058",
637
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_059",
638
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_060",
639
+ "tests/test_commonmark.py::TestCommonMark::test_thematic_breaks_061",
640
+ "tests/test_directives.py::TestDirective_rst_admonition::test_admonition_001",
641
+ "tests/test_directives.py::TestDirective_rst_admonition::test_admonition_002",
642
+ "tests/test_directives.py::TestDirective_rst_admonition::test_admonition_003",
643
+ "tests/test_directives.py::TestDirective_rst_admonition::test_admonition_004",
644
+ "tests/test_directives.py::TestDirective_rst_toc::test_collapse_toc_001",
645
+ "tests/test_directives.py::TestDirective_rst_toc::test_complex_001",
646
+ "tests/test_directives.py::TestDirective_rst_toc::test_html_in_heading_001",
647
+ "tests/test_directives.py::TestDirective_rst_toc::test_insane_001",
648
+ "tests/test_directives.py::TestDirective_rst_toc::test_insane_002",
649
+ "tests/test_directives.py::TestDirective_rst_toc::test_invalid_option_001",
650
+ "tests/test_directives.py::TestDirective_rst_toc::test_invalid_option_002",
651
+ "tests/test_directives.py::TestDirective_rst_toc::test_invalid_option_003",
652
+ "tests/test_directives.py::TestDirective_rst_toc::test_link_in_heading_001",
653
+ "tests/test_directives.py::TestDirective_rst_toc::test_no_toc_001",
654
+ "tests/test_directives.py::TestDirective_rst_toc::test_no_toc_002",
655
+ "tests/test_directives.py::TestDirective_rst_toc::test_simple_toc_001",
656
+ "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_001",
657
+ "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_002",
658
+ "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_003",
659
+ "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_004",
660
+ "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_005",
661
+ "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_006",
662
+ "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_007",
663
+ "tests/test_directives.py::TestDirective_fenced_admonition::test_admonition_008",
664
+ "tests/test_directives.py::TestDirective_fenced_toc::test_collapse_toc_001",
665
+ "tests/test_directives.py::TestDirective_fenced_toc::test_complex_001",
666
+ "tests/test_directives.py::TestDirective_fenced_toc::test_html_in_heading_001",
667
+ "tests/test_directives.py::TestDirective_fenced_toc::test_insane_001",
668
+ "tests/test_directives.py::TestDirective_fenced_toc::test_insane_002",
669
+ "tests/test_directives.py::TestDirective_fenced_toc::test_invalid_option_001",
670
+ "tests/test_directives.py::TestDirective_fenced_toc::test_invalid_option_002",
671
+ "tests/test_directives.py::TestDirective_fenced_toc::test_invalid_option_003",
672
+ "tests/test_directives.py::TestDirective_fenced_toc::test_link_in_heading_001",
673
+ "tests/test_directives.py::TestDirective_fenced_toc::test_no_toc_001",
674
+ "tests/test_directives.py::TestDirective_fenced_toc::test_no_toc_002",
675
+ "tests/test_directives.py::TestDirective_fenced_toc::test_simple_toc_001",
676
+ "tests/test_directives.py::TestDirective_fenced_image::test_align_options_001",
677
+ "tests/test_directives.py::TestDirective_fenced_image::test_align_options_002",
678
+ "tests/test_directives.py::TestDirective_fenced_image::test_all_options_001",
679
+ "tests/test_directives.py::TestDirective_fenced_image::test_alt_option_001",
680
+ "tests/test_directives.py::TestDirective_fenced_image::test_ampersand_in_source_001",
681
+ "tests/test_directives.py::TestDirective_fenced_image::test_ampersand_in_target_001",
682
+ "tests/test_directives.py::TestDirective_fenced_image::test_no_options_001",
683
+ "tests/test_directives.py::TestDirective_fenced_image::test_target_option_001",
684
+ "tests/test_directives.py::TestDirective_fenced_image::test_width_and_height_001",
685
+ "tests/test_directives.py::TestDirective_fenced_image::test_width_and_height_002",
686
+ "tests/test_directives.py::TestDirective_fenced_figure::test_align_options_001",
687
+ "tests/test_directives.py::TestDirective_fenced_figure::test_align_options_002",
688
+ "tests/test_directives.py::TestDirective_fenced_figure::test_all_options_001",
689
+ "tests/test_directives.py::TestDirective_fenced_figure::test_alt_option_001",
690
+ "tests/test_directives.py::TestDirective_fenced_figure::test_caption_001",
691
+ "tests/test_directives.py::TestDirective_fenced_figure::test_legend_001",
692
+ "tests/test_directives.py::TestDirective_fenced_figure::test_legend_002",
693
+ "tests/test_directives.py::TestDirective_fenced_figure::test_no_options_001",
694
+ "tests/test_directives.py::TestDirective_fenced_figure::test_target_option_001",
695
+ "tests/test_directives.py::TestDirective_fenced_figure::test_width_and_height_001",
696
+ "tests/test_directives.py::TestDirective_fenced_figure::test_width_and_height_002",
697
+ "tests/test_directives.py::TestDirective_fenced_figure::test_width_and_height_003",
698
+ "tests/test_directives.py::TestCustomizeToc::test_colon_fenced_toc",
699
+ "tests/test_directives.py::TestCustomizeToc::test_fenced_toc",
700
+ "tests/test_directives.py::TestCustomizeToc::test_rst_toc",
701
+ "tests/test_directives.py::TestDirectiveInclude::test_html_include",
702
+ "tests/test_directives.py::TestDirectiveInclude::test_include_missing_source",
703
+ "tests/test_hooks.py::TestTocHook::test_complex_toc_001",
704
+ "tests/test_hooks.py::TestTocHook::test_customize_heading_id_func",
705
+ "tests/test_hooks.py::TestTocHook::test_html_in_heading_001",
706
+ "tests/test_hooks.py::TestTocHook::test_insane_toc_001",
707
+ "tests/test_hooks.py::TestTocHook::test_insane_toc_002",
708
+ "tests/test_hooks.py::TestTocHook::test_link_in_heading_001",
709
+ "tests/test_hooks.py::TestTocHook::test_simple_toc_001",
710
+ "tests/test_misc.py::TestMiscCases::test_allow_data_protocols",
711
+ "tests/test_misc.py::TestMiscCases::test_allow_harmful_protocols",
712
+ "tests/test_misc.py::TestMiscCases::test_ast_output",
713
+ "tests/test_misc.py::TestMiscCases::test_ast_url",
714
+ "tests/test_misc.py::TestMiscCases::test_before_parse_hooks",
715
+ "tests/test_misc.py::TestMiscCases::test_emsp",
716
+ "tests/test_misc.py::TestMiscCases::test_escape_html",
717
+ "tests/test_misc.py::TestMiscCases::test_hard_wrap",
718
+ "tests/test_misc.py::TestMiscCases::test_harmful_links",
719
+ "tests/test_misc.py::TestMiscCases::test_html_tag_text_following_list",
720
+ "tests/test_misc.py::TestMiscCases::test_markdown_func",
721
+ "tests/test_misc.py::TestMiscCases::test_none",
722
+ "tests/test_misc.py::TestMiscCases::test_ref_link",
723
+ "tests/test_misc.py::TestMiscCases::test_use_plugin",
724
+ "tests/test_plugins.py::TestPlugin1_url::test_url_plugin_001",
725
+ "tests/test_plugins.py::TestPlugin1_url::test_url_plugin_002",
726
+ "tests/test_plugins.py::TestPlugin1_url::test_url_plugin_003",
727
+ "tests/test_plugins.py::TestPlugin2_url::test_url_plugin_001",
728
+ "tests/test_plugins.py::TestPlugin2_url::test_url_plugin_002",
729
+ "tests/test_plugins.py::TestPlugin2_url::test_url_plugin_003",
730
+ "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_001",
731
+ "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_002",
732
+ "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_003",
733
+ "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_004",
734
+ "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_005",
735
+ "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_006",
736
+ "tests/test_plugins.py::TestPlugin1_strikethrough::test_strikethrough_007",
737
+ "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_001",
738
+ "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_002",
739
+ "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_003",
740
+ "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_004",
741
+ "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_005",
742
+ "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_006",
743
+ "tests/test_plugins.py::TestPlugin2_strikethrough::test_strikethrough_007",
744
+ "tests/test_plugins.py::TestPlugin1_mark::test_escape_mark_001",
745
+ "tests/test_plugins.py::TestPlugin1_mark::test_escape_mark_002",
746
+ "tests/test_plugins.py::TestPlugin1_mark::test_mark_001",
747
+ "tests/test_plugins.py::TestPlugin1_mark::test_mark_link_001",
748
+ "tests/test_plugins.py::TestPlugin1_mark::test_mark_link_002",
749
+ "tests/test_plugins.py::TestPlugin1_mark::test_normal_mark_001",
750
+ "tests/test_plugins.py::TestPlugin1_mark::test_normal_mark_002",
751
+ "tests/test_plugins.py::TestPlugin1_mark::test_normal_mark_003",
752
+ "tests/test_plugins.py::TestPlugin1_mark::test_normal_mark_004",
753
+ "tests/test_plugins.py::TestPlugin2_mark::test_escape_mark_001",
754
+ "tests/test_plugins.py::TestPlugin2_mark::test_escape_mark_002",
755
+ "tests/test_plugins.py::TestPlugin2_mark::test_mark_001",
756
+ "tests/test_plugins.py::TestPlugin2_mark::test_mark_link_001",
757
+ "tests/test_plugins.py::TestPlugin2_mark::test_mark_link_002",
758
+ "tests/test_plugins.py::TestPlugin2_mark::test_normal_mark_001",
759
+ "tests/test_plugins.py::TestPlugin2_mark::test_normal_mark_002",
760
+ "tests/test_plugins.py::TestPlugin2_mark::test_normal_mark_003",
761
+ "tests/test_plugins.py::TestPlugin2_mark::test_normal_mark_004",
762
+ "tests/test_plugins.py::TestPlugin1_insert::test_escape_insert_001",
763
+ "tests/test_plugins.py::TestPlugin1_insert::test_escape_insert_002",
764
+ "tests/test_plugins.py::TestPlugin1_insert::test_insert_001",
765
+ "tests/test_plugins.py::TestPlugin1_insert::test_insert_link_001",
766
+ "tests/test_plugins.py::TestPlugin1_insert::test_insert_link_002",
767
+ "tests/test_plugins.py::TestPlugin1_insert::test_normal_insert_001",
768
+ "tests/test_plugins.py::TestPlugin1_insert::test_normal_insert_002",
769
+ "tests/test_plugins.py::TestPlugin1_insert::test_normal_insert_003",
770
+ "tests/test_plugins.py::TestPlugin1_insert::test_normal_insert_004",
771
+ "tests/test_plugins.py::TestPlugin2_insert::test_escape_insert_001",
772
+ "tests/test_plugins.py::TestPlugin2_insert::test_escape_insert_002",
773
+ "tests/test_plugins.py::TestPlugin2_insert::test_insert_001",
774
+ "tests/test_plugins.py::TestPlugin2_insert::test_insert_link_001",
775
+ "tests/test_plugins.py::TestPlugin2_insert::test_insert_link_002",
776
+ "tests/test_plugins.py::TestPlugin2_insert::test_normal_insert_001",
777
+ "tests/test_plugins.py::TestPlugin2_insert::test_normal_insert_002",
778
+ "tests/test_plugins.py::TestPlugin2_insert::test_normal_insert_003",
779
+ "tests/test_plugins.py::TestPlugin2_insert::test_normal_insert_004",
780
+ "tests/test_plugins.py::TestPlugin1_superscript::test_superscript_001",
781
+ "tests/test_plugins.py::TestPlugin1_superscript::test_superscript_002",
782
+ "tests/test_plugins.py::TestPlugin1_superscript::test_superscript_003",
783
+ "tests/test_plugins.py::TestPlugin1_superscript::test_superscript_004",
784
+ "tests/test_plugins.py::TestPlugin2_superscript::test_superscript_001",
785
+ "tests/test_plugins.py::TestPlugin2_superscript::test_superscript_002",
786
+ "tests/test_plugins.py::TestPlugin2_superscript::test_superscript_003",
787
+ "tests/test_plugins.py::TestPlugin2_superscript::test_superscript_004",
788
+ "tests/test_plugins.py::TestPlugin1_subscript::test_subscript_001",
789
+ "tests/test_plugins.py::TestPlugin1_subscript::test_subscript_002",
790
+ "tests/test_plugins.py::TestPlugin1_subscript::test_subscript_003",
791
+ "tests/test_plugins.py::TestPlugin1_subscript::test_subscript_004",
792
+ "tests/test_plugins.py::TestPlugin2_subscript::test_subscript_001",
793
+ "tests/test_plugins.py::TestPlugin2_subscript::test_subscript_002",
794
+ "tests/test_plugins.py::TestPlugin2_subscript::test_subscript_003",
795
+ "tests/test_plugins.py::TestPlugin2_subscript::test_subscript_004",
796
+ "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_001",
797
+ "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_002",
798
+ "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_003",
799
+ "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_004",
800
+ "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_005",
801
+ "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_006",
802
+ "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_007",
803
+ "tests/test_plugins.py::TestPlugin1_task_lists::test_task_lists_008",
804
+ "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_001",
805
+ "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_002",
806
+ "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_003",
807
+ "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_004",
808
+ "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_005",
809
+ "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_006",
810
+ "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_007",
811
+ "tests/test_plugins.py::TestPlugin2_task_lists::test_task_lists_008",
812
+ "tests/test_plugins.py::TestPlugin1_table::test_align_table_001",
813
+ "tests/test_plugins.py::TestPlugin1_table::test_align_table_002",
814
+ "tests/test_plugins.py::TestPlugin1_table::test_misc_table_001",
815
+ "tests/test_plugins.py::TestPlugin1_table::test_misc_table_002",
816
+ "tests/test_plugins.py::TestPlugin1_table::test_misc_table_003",
817
+ "tests/test_plugins.py::TestPlugin1_table::test_mismatch_length_001",
818
+ "tests/test_plugins.py::TestPlugin1_table::test_mismatch_length_002",
819
+ "tests/test_plugins.py::TestPlugin1_table::test_mismatch_length_003",
820
+ "tests/test_plugins.py::TestPlugin1_table::test_mismatch_length_004",
821
+ "tests/test_plugins.py::TestPlugin1_table::test_nptable_001",
822
+ "tests/test_plugins.py::TestPlugin1_table::test_table_001",
823
+ "tests/test_plugins.py::TestPlugin1_table::test_table_002",
824
+ "tests/test_plugins.py::TestPlugin2_table::test_align_table_001",
825
+ "tests/test_plugins.py::TestPlugin2_table::test_align_table_002",
826
+ "tests/test_plugins.py::TestPlugin2_table::test_misc_table_001",
827
+ "tests/test_plugins.py::TestPlugin2_table::test_misc_table_002",
828
+ "tests/test_plugins.py::TestPlugin2_table::test_misc_table_003",
829
+ "tests/test_plugins.py::TestPlugin2_table::test_mismatch_length_001",
830
+ "tests/test_plugins.py::TestPlugin2_table::test_mismatch_length_002",
831
+ "tests/test_plugins.py::TestPlugin2_table::test_mismatch_length_003",
832
+ "tests/test_plugins.py::TestPlugin2_table::test_mismatch_length_004",
833
+ "tests/test_plugins.py::TestPlugin2_table::test_nptable_001",
834
+ "tests/test_plugins.py::TestPlugin2_table::test_table_001",
835
+ "tests/test_plugins.py::TestPlugin2_table::test_table_002",
836
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_001",
837
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_002",
838
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_003",
839
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_004",
840
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_005",
841
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_lists_006",
842
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_with_multiple_lines_001",
843
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_with_multiple_lines_002",
844
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_with_multiple_lines_003",
845
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_with_multiple_lines_004",
846
+ "tests/test_plugins.py::TestPlugin1_def_list::test_definition_with_multiple_lines_005",
847
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_001",
848
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_002",
849
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_003",
850
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_004",
851
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_005",
852
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_lists_006",
853
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_with_multiple_lines_001",
854
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_with_multiple_lines_002",
855
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_with_multiple_lines_003",
856
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_with_multiple_lines_004",
857
+ "tests/test_plugins.py::TestPlugin2_def_list::test_definition_with_multiple_lines_005",
858
+ "tests/test_plugins.py::TestPlugin1_footnotes::test_footnotes_001",
859
+ "tests/test_plugins.py::TestPlugin1_footnotes::test_footnotes_002",
860
+ "tests/test_plugins.py::TestPlugin1_footnotes::test_footnotes_003",
861
+ "tests/test_plugins.py::TestPlugin2_footnotes::test_footnotes_001",
862
+ "tests/test_plugins.py::TestPlugin2_footnotes::test_footnotes_002",
863
+ "tests/test_plugins.py::TestPlugin2_footnotes::test_footnotes_003",
864
+ "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_001",
865
+ "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_002",
866
+ "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_003",
867
+ "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_004",
868
+ "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_005",
869
+ "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_006",
870
+ "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_007",
871
+ "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_008",
872
+ "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_009",
873
+ "tests/test_plugins.py::TestPlugin1_abbr::test_abbreviation_010",
874
+ "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_001",
875
+ "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_002",
876
+ "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_003",
877
+ "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_004",
878
+ "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_005",
879
+ "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_006",
880
+ "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_007",
881
+ "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_008",
882
+ "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_009",
883
+ "tests/test_plugins.py::TestPlugin2_abbr::test_abbreviation_010",
884
+ "tests/test_plugins.py::TestPlugin1_math::test_block_math_001",
885
+ "tests/test_plugins.py::TestPlugin1_math::test_block_math_002",
886
+ "tests/test_plugins.py::TestPlugin1_math::test_block_math_003",
887
+ "tests/test_plugins.py::TestPlugin1_math::test_block_math_004",
888
+ "tests/test_plugins.py::TestPlugin1_math::test_inline_math_001",
889
+ "tests/test_plugins.py::TestPlugin2_math::test_block_math_001",
890
+ "tests/test_plugins.py::TestPlugin2_math::test_block_math_002",
891
+ "tests/test_plugins.py::TestPlugin2_math::test_block_math_003",
892
+ "tests/test_plugins.py::TestPlugin2_math::test_block_math_004",
893
+ "tests/test_plugins.py::TestPlugin2_math::test_inline_math_001",
894
+ "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_splits_001",
895
+ "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_splits_002",
896
+ "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_with_link_001",
897
+ "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_with_link_002",
898
+ "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_with_link_003",
899
+ "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_without_link_001",
900
+ "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_without_link_002",
901
+ "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_without_link_003",
902
+ "tests/test_plugins.py::TestPlugin1_ruby::test_ruby_without_link_004",
903
+ "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_splits_001",
904
+ "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_splits_002",
905
+ "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_with_link_001",
906
+ "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_with_link_002",
907
+ "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_with_link_003",
908
+ "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_without_link_001",
909
+ "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_without_link_002",
910
+ "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_without_link_003",
911
+ "tests/test_plugins.py::TestPlugin2_ruby::test_ruby_without_link_004",
912
+ "tests/test_plugins.py::TestPlugin1_spoiler::test_block_spoiler_001",
913
+ "tests/test_plugins.py::TestPlugin1_spoiler::test_block_spoiler_002",
914
+ "tests/test_plugins.py::TestPlugin1_spoiler::test_block_spoiler_003",
915
+ "tests/test_plugins.py::TestPlugin1_spoiler::test_block_spoiler_004",
916
+ "tests/test_plugins.py::TestPlugin1_spoiler::test_block_spoiler_005",
917
+ "tests/test_plugins.py::TestPlugin1_spoiler::test_inline_spoiler_001",
918
+ "tests/test_plugins.py::TestPlugin1_spoiler::test_inline_spoiler_002",
919
+ "tests/test_plugins.py::TestPlugin1_spoiler::test_inline_spoiler_003",
920
+ "tests/test_plugins.py::TestPlugin2_spoiler::test_block_spoiler_001",
921
+ "tests/test_plugins.py::TestPlugin2_spoiler::test_block_spoiler_002",
922
+ "tests/test_plugins.py::TestPlugin2_spoiler::test_block_spoiler_003",
923
+ "tests/test_plugins.py::TestPlugin2_spoiler::test_block_spoiler_004",
924
+ "tests/test_plugins.py::TestPlugin2_spoiler::test_block_spoiler_005",
925
+ "tests/test_plugins.py::TestPlugin2_spoiler::test_inline_spoiler_001",
926
+ "tests/test_plugins.py::TestPlugin2_spoiler::test_inline_spoiler_002",
927
+ "tests/test_plugins.py::TestPlugin2_spoiler::test_inline_spoiler_003",
928
+ "tests/test_plugins.py::TestExtraPlugins::test_math_in_list",
929
+ "tests/test_plugins.py::TestExtraPlugins::test_math_in_quote",
930
+ "tests/test_plugins.py::TestExtraPlugins::test_table_in_list",
931
+ "tests/test_plugins.py::TestExtraPlugins::test_table_in_quote",
932
+ "tests/test_renderers.py::TestRendererRst::test_images_001",
933
+ "tests/test_renderers.py::TestRendererMarkdown::test_images_001",
934
+ "tests/test_renderers.py::TestRendererMarkdown::test_links_001",
935
+ "tests/test_renderers.py::TestRendererMarkdown::test_links_002",
936
+ "tests/test_syntax.py::TestSyntax::test_emphasis_001",
937
+ "tests/test_syntax.py::TestSyntax::test_image_001",
938
+ "tests/test_syntax.py::TestSyntax::test_link_001",
939
+ "tests/test_syntax.py::TestSyntax::test_link_002",
940
+ "tests/test_syntax.py::TestSyntax::test_link_003",
941
+ "tests/test_syntax.py::TestSyntax::test_links_001",
942
+ "tests/test_syntax.py::TestSyntax::test_links_002",
943
+ "tests/test_syntax.py::TestSyntax::test_max_depth_001",
944
+ "tests/test_syntax.py::TestSyntax::test_max_depth_002",
945
+ "tests/test_syntax.py::TestSyntax::test_non_aggressive_emphasis_001",
946
+ "tests/test_syntax.py::TestSyntax::test_non_aggressive_emphasis_002",
947
+ "tests/test_syntax.py::TestSyntax::test_non_aggressive_emphasis_003",
948
+ "tests/test_syntax.py::TestSyntax::test_setext_headings_001",
949
+ "tests/test_syntax.py::TestSyntax::test_setext_headings_002"
950
+ ]
951
+ }
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/grade.py ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Trusted private pytest panel runner. Installed only in a fresh grader Job."""
2
+
3
+ import hashlib
4
+ import importlib.util
5
+ import json
6
+ import os
7
+ import shutil
8
+ import stat
9
+ import subprocess
10
+ from pathlib import Path, PurePosixPath
11
+
12
+
13
+ def sha(raw):
14
+ return hashlib.sha256(raw).hexdigest()
15
+
16
+
17
+ def safe(value):
18
+ path = PurePosixPath(value)
19
+ if (
20
+ path.is_absolute()
21
+ or path.as_posix() != value
22
+ or not path.parts
23
+ or any(part in {".", "..", ".git"} for part in path.parts)
24
+ ):
25
+ raise ValueError("Unsafe trusted test path")
26
+ return path
27
+
28
+
29
+ def restore(worktree, private, manifest):
30
+ worktree, private = Path(worktree), Path(private)
31
+ captured = {}
32
+ for name, expected in manifest["files"].items():
33
+ path = private / safe(name)
34
+ info = path.lstat()
35
+ raw = path.read_bytes() if stat.S_ISREG(info.st_mode) else b""
36
+ if (
37
+ not stat.S_ISREG(info.st_mode)
38
+ or len(raw) != expected["bytes"]
39
+ or sha(raw) != expected["sha256"]
40
+ or stat.S_IMODE(info.st_mode) != expected["mode"]
41
+ ):
42
+ raise ValueError("Trusted private test bytes or modes drifted")
43
+ captured[name] = (raw, expected["mode"])
44
+ # Capture and verify every private byte before changing the submitted tree.
45
+ for name in manifest["directory_roots"]:
46
+ destination = worktree / safe(name)
47
+ if destination.is_symlink():
48
+ raise ValueError("Submitted test directory is a symlink")
49
+ for parent in destination.parents:
50
+ if parent == worktree:
51
+ break
52
+ if parent.is_symlink():
53
+ raise ValueError("Submitted test parent is a symlink")
54
+ if destination.exists():
55
+ if not destination.is_dir():
56
+ raise ValueError("Submitted test directory is not a directory")
57
+ shutil.rmtree(destination)
58
+ for name, (raw, mode) in captured.items():
59
+ destination = worktree / safe(name)
60
+ for parent in destination.parents:
61
+ if parent == worktree:
62
+ break
63
+ if parent.is_symlink():
64
+ raise ValueError("Submitted test parent is a symlink")
65
+ if destination.is_symlink():
66
+ raise ValueError("Submitted trusted file is a symlink")
67
+ destination.parent.mkdir(parents=True, exist_ok=True)
68
+ destination.write_bytes(raw)
69
+ destination.chmod(mode)
70
+
71
+
72
+ def run(worktree, private_root, output, invoke=None):
73
+ private_root, output, worktree = Path(private_root), Path(output), Path(worktree)
74
+ expected = json.loads((private_root / "expected-panels.json").read_bytes())
75
+ config = json.loads((private_root / "panel-config.json").read_bytes())
76
+ manifest = json.loads((private_root / "trusted-inventory.json").read_bytes())
77
+ restore(worktree, private_root / "trusted", manifest)
78
+ output.mkdir(parents=True, exist_ok=True)
79
+ for name in (
80
+ "reward.txt",
81
+ "pass-to-pass.xml",
82
+ "fail-to-pass.xml",
83
+ "pytest-evidence.json",
84
+ ):
85
+ (output / name).unlink(missing_ok=True)
86
+ environment = dict(os.environ)
87
+ for key in ("PYTEST_ADDOPTS", "PYTEST_DISABLE_PLUGIN_AUTOLOAD", "PYTHONPATH"):
88
+ environment.pop(key, None)
89
+ commands, native_exit = [], 0
90
+ invoke = invoke or subprocess.run
91
+ for group in ("pass-to-pass", "fail-to-pass"):
92
+ if (
93
+ not isinstance(expected[group], list)
94
+ or not expected[group]
95
+ or any(
96
+ not isinstance(target, str) or not target for target in expected[group]
97
+ )
98
+ ):
99
+ raise ValueError("Frozen native pytest selectors are incomplete")
100
+ command = [
101
+ *config["official_pytest_argv"],
102
+ "--override-ini=addopts=",
103
+ "--junitxml=" + str(output / (group + ".xml")),
104
+ *expected[group],
105
+ ]
106
+ result = invoke(command, cwd=worktree, env=environment, check=False)
107
+ native_exit = result.returncode
108
+ commands.append({"group": group, "argv": command, "exit_code": native_exit})
109
+ if native_exit != 0:
110
+ break
111
+ (output / "pytest-commands.json").write_text(
112
+ json.dumps(commands, sort_keys=True) + "\n"
113
+ )
114
+ spec = importlib.util.spec_from_file_location(
115
+ "trusted_pytest_result", private_root / "check_pytest.py"
116
+ )
117
+ checker = importlib.util.module_from_spec(spec)
118
+ spec.loader.exec_module(checker)
119
+ result = checker.assess(output, expected, native_exit)
120
+ (output / "reward.txt").write_text(str(result["reward"]) + "\n")
121
+ (output / "pytest-evidence.json").write_text(
122
+ json.dumps(result, sort_keys=True) + "\n"
123
+ )
124
+ return result
125
+
126
+
127
+ if __name__ == "__main__":
128
+ run("/testbed/repo", "/tests", "/logs/verifier")
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/panel-config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dependency_installation_pinned": false,
3
+ "official_install_cmds": [
4
+ "python -m pip install -e ."
5
+ ],
6
+ "official_pytest_argv": [
7
+ "pytest",
8
+ "--disable-warnings",
9
+ "--color=no",
10
+ "--tb=no",
11
+ "--verbose"
12
+ ],
13
+ "official_test_command": "source /opt/miniconda3/bin/activate; conda activate testbed; pytest --disable-warnings --color=no --tb=no --verbose",
14
+ "operator_test_runner_prerequisites": [
15
+ "python -m pip install pytest==8.4.2"
16
+ ],
17
+ "operator_test_runner_reason": "The official profile invokes pytest, but the common tools runtime does not provide it; pinned separately from source-native project requirements.",
18
+ "panel_normalization": "Override project addopts only to execute the exact frozen native panels; add JUnit output, preserve official pytest options and all selectors.",
19
+ "python_version": "3.10",
20
+ "source_bound_test_dependency_cmds": [],
21
+ "test_dependency_source_sha256": {
22
+ "pyproject.toml": "b2922e3ef89e2918935d38fb3a777bdbc741619942276a75fd21a8dd9faf6b42"
23
+ }
24
+ }
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/test.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ set -Eeuo pipefail
3
+ source /opt/miniconda3/bin/activate
4
+ conda activate testbed
5
+ cd /testbed/repo
6
+ exec python -I /tests/grade.py
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted-inventory.json ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "directory_roots": [
3
+ "tests"
4
+ ],
5
+ "files": {
6
+ "pyproject.toml": {
7
+ "bytes": 1781,
8
+ "mode": 420,
9
+ "sha256": "b2922e3ef89e2918935d38fb3a777bdbc741619942276a75fd21a8dd9faf6b42"
10
+ },
11
+ "setup.py": {
12
+ "bytes": 52,
13
+ "mode": 420,
14
+ "sha256": "504f5c8cbb3b966b1f3f838da0a0cdc77b312f0c5935951357d17328e5324e21"
15
+ },
16
+ "tests/__init__.py": {
17
+ "bytes": 1149,
18
+ "mode": 420,
19
+ "sha256": "229cc35ee9a5f5a9fb37e036683e2276f940b80df2dc6203102c0f36f960e467"
20
+ },
21
+ "tests/fixtures/__init__.py": {
22
+ "bytes": 1502,
23
+ "mode": 420,
24
+ "sha256": "960fa58f01c3a473a956cc2d5430314d10f070bff18b35c9707c52c1c42a57e2"
25
+ },
26
+ "tests/fixtures/abbr.txt": {
27
+ "bytes": 2703,
28
+ "mode": 420,
29
+ "sha256": "18c7e06359486daeaafa88c7404f4ca8248cd47bf38a7ed475ddd35353e68bea"
30
+ },
31
+ "tests/fixtures/commonmark.json": {
32
+ "bytes": 140423,
33
+ "mode": 420,
34
+ "sha256": "ae6129f3ce3caf4f99cf4f9a5ad3558a309652b5b887171013e2bf0797289b98"
35
+ },
36
+ "tests/fixtures/def_list.txt": {
37
+ "bytes": 2834,
38
+ "mode": 420,
39
+ "sha256": "909b7156a5ba1f005ea3d8a203946e7ab3576149ec5af73ecad657bb046f386d"
40
+ },
41
+ "tests/fixtures/diff-commonmark.txt": {
42
+ "bytes": 1176,
43
+ "mode": 420,
44
+ "sha256": "920df6e3c9c8e3d4627842d5a7aeb172bdd23229acfbbb9a9b728a9f6ce2c1f0"
45
+ },
46
+ "tests/fixtures/fenced_admonition.txt": {
47
+ "bytes": 2344,
48
+ "mode": 420,
49
+ "sha256": "0f231afd472bc2c742170798e619d1baa5dd34e9e4a6cb18906dabd1aa37a1d0"
50
+ },
51
+ "tests/fixtures/fenced_figure.txt": {
52
+ "bytes": 3481,
53
+ "mode": 420,
54
+ "sha256": "83c3d636e8d4f0dd5a767045cf38877fd3c6c03a20c351f06c50e30ae7f30cda"
55
+ },
56
+ "tests/fixtures/fenced_image.txt": {
57
+ "bytes": 2343,
58
+ "mode": 420,
59
+ "sha256": "fa7ede5a90b718aaeb46af7f5a4d98a0e17cec0411355f460a166356020e6780"
60
+ },
61
+ "tests/fixtures/fenced_toc.txt": {
62
+ "bytes": 3656,
63
+ "mode": 420,
64
+ "sha256": "019a12ca2e293699d88241460bdea48ee6a65981b36b6bae4c0bbf78f020a296"
65
+ },
66
+ "tests/fixtures/fix-commonmark.txt": {
67
+ "bytes": 1905,
68
+ "mode": 420,
69
+ "sha256": "1f2777b457f4da70e02983bbcb2104fa3b442dbb8a5bcac1621499b0b796292f"
70
+ },
71
+ "tests/fixtures/footnotes.txt": {
72
+ "bytes": 847,
73
+ "mode": 420,
74
+ "sha256": "55227ab43a3986fd07ecbf0742903a977f04cd9ed403086d7c76f23b1967aab1"
75
+ },
76
+ "tests/fixtures/hook_toc.txt": {
77
+ "bytes": 1896,
78
+ "mode": 420,
79
+ "sha256": "bdb1a5c90f08cb29c4eed3c892e9c694f92855507b6cd5809eac3b8eb4fc7dc5"
80
+ },
81
+ "tests/fixtures/include/hello.md": {
82
+ "bytes": 8,
83
+ "mode": 420,
84
+ "sha256": "389aaf8f17da55ef35fedf530bc70cd1287042f6410ec94c2b44c1b22c36e60a"
85
+ },
86
+ "tests/fixtures/include/hello.txt": {
87
+ "bytes": 6,
88
+ "mode": 420,
89
+ "sha256": "5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03"
90
+ },
91
+ "tests/fixtures/include/text.html": {
92
+ "bytes": 24,
93
+ "mode": 420,
94
+ "sha256": "bac2f8a2e3937f8923da8e560248d2a52867b502fbda531ba73f1d066b35d2ba"
95
+ },
96
+ "tests/fixtures/include/text.md": {
97
+ "bytes": 163,
98
+ "mode": 420,
99
+ "sha256": "3ffb497b2829ca6333bc6eb4e7d2959aa7baeaa44180225a4820e0051ae7ef75"
100
+ },
101
+ "tests/fixtures/insert.txt": {
102
+ "bytes": 1165,
103
+ "mode": 420,
104
+ "sha256": "de7b89a58c2cbd2d4948c10b8c599fd7500b3ae6734d271a35ff2cf2854b1572"
105
+ },
106
+ "tests/fixtures/mark.txt": {
107
+ "bytes": 1138,
108
+ "mode": 420,
109
+ "sha256": "6b5c232cf89f61097ae6d032865a99bdcd9f65e3ef99517d9423b2da0aa983d0"
110
+ },
111
+ "tests/fixtures/math.txt": {
112
+ "bytes": 1174,
113
+ "mode": 420,
114
+ "sha256": "eadc29b04cc85928e50003b2908b002a778447ef028c4b773ca1753b907fd898"
115
+ },
116
+ "tests/fixtures/renderer_markdown.txt": {
117
+ "bytes": 3569,
118
+ "mode": 420,
119
+ "sha256": "2ba5fc55634d7dbaabd91aedea9e04b34882e67abc3020034bd809a408cac2a7"
120
+ },
121
+ "tests/fixtures/renderer_rst.txt": {
122
+ "bytes": 2915,
123
+ "mode": 420,
124
+ "sha256": "47007bc353f230e9b73d8604548539bb16374a4b837bf7ba8d2f478444fff84e"
125
+ },
126
+ "tests/fixtures/rst_admonition.txt": {
127
+ "bytes": 848,
128
+ "mode": 420,
129
+ "sha256": "821676f07a4e595c51c84da87edc592e22e8bbed6241e070040d87a4de7c5d7e"
130
+ },
131
+ "tests/fixtures/rst_toc.txt": {
132
+ "bytes": 3643,
133
+ "mode": 420,
134
+ "sha256": "f9ae334cef85d776c37d7ad029e1e38d9e1b035423ab624dab8499aff28f7e98"
135
+ },
136
+ "tests/fixtures/ruby.txt": {
137
+ "bytes": 1773,
138
+ "mode": 420,
139
+ "sha256": "1302542447ac0befc2618d9c2da1657581fcc1d90c332896e6dc086b698e30ed"
140
+ },
141
+ "tests/fixtures/spoiler.txt": {
142
+ "bytes": 1154,
143
+ "mode": 420,
144
+ "sha256": "21446f2e88b70cc3c50e606c36fbcdf567993581ccf8397ace5948973c251985"
145
+ },
146
+ "tests/fixtures/strikethrough.txt": {
147
+ "bytes": 886,
148
+ "mode": 420,
149
+ "sha256": "fee85a2207da74bdcf437c2c58804b009b657b4dfd505989fdbee46f78feac07"
150
+ },
151
+ "tests/fixtures/subscript.txt": {
152
+ "bytes": 521,
153
+ "mode": 420,
154
+ "sha256": "61fd94b4718edbbfaa782533f659f4f193585fb09e61761a662cd313906932b8"
155
+ },
156
+ "tests/fixtures/superscript.txt": {
157
+ "bytes": 523,
158
+ "mode": 420,
159
+ "sha256": "658ac752d95d74e6e97e7daceba6f48ef279dc6f1389a878610bc608e82f34b3"
160
+ },
161
+ "tests/fixtures/table.txt": {
162
+ "bytes": 4134,
163
+ "mode": 420,
164
+ "sha256": "f92d66b63d00f95f7a9938cb6e0e42ea4968d6e9f1f62e902b63bc1be69f51b6"
165
+ },
166
+ "tests/fixtures/task_lists.txt": {
167
+ "bytes": 3104,
168
+ "mode": 420,
169
+ "sha256": "d17a07a9cb077dd25c3b4c4dd7301bc9f508ab75ec83c2293b0ebaca954be76c"
170
+ },
171
+ "tests/fixtures/url.txt": {
172
+ "bytes": 530,
173
+ "mode": 420,
174
+ "sha256": "441ea5e1e27f6edcd52b51f8c20ca1eee8b76d4adcc3b2fcdd419448c528ef21"
175
+ },
176
+ "tests/test_commonmark.py": {
177
+ "bytes": 2199,
178
+ "mode": 420,
179
+ "sha256": "77396377672a8419ecab283aebf55a5e206b1aa413626975dc8b2a006c796973"
180
+ },
181
+ "tests/test_directives.py": {
182
+ "bytes": 2954,
183
+ "mode": 420,
184
+ "sha256": "3d46db4f9e52d3067954ab7fcaba80ef855008a516a86ee3baf07b2a9c730817"
185
+ },
186
+ "tests/test_hooks.py": {
187
+ "bytes": 729,
188
+ "mode": 420,
189
+ "sha256": "9d6f177c6dd52223ac44e31508ed66bbc2b6fc7a4725ed7121fb39842b0a6a61"
190
+ },
191
+ "tests/test_misc.py": {
192
+ "bytes": 4830,
193
+ "mode": 420,
194
+ "sha256": "a1bba411b7b74f1b9d43bf88459db1d9fa2c13e7db32dfee707c93cd8ccb5575"
195
+ },
196
+ "tests/test_plugins.py": {
197
+ "bytes": 2280,
198
+ "mode": 420,
199
+ "sha256": "56a6731c5e5667870122edfb3d49925a34dc394ae00ce3282dc3e89cbe2fd6b8"
200
+ },
201
+ "tests/test_renderers.py": {
202
+ "bytes": 500,
203
+ "mode": 420,
204
+ "sha256": "efc0fa48c74f8ee1b84c961e4ca034eb5f0246b69b4663428c93cc77d471e7b8"
205
+ },
206
+ "tests/test_syntax.py": {
207
+ "bytes": 342,
208
+ "mode": 420,
209
+ "sha256": "88f99c6afc5f39f088c0cd1cdf4fab8a69b60b208a1b28924eeb8fbd0d7bef2e"
210
+ }
211
+ }
212
+ }
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/pyproject.toml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "mistune"
3
+ description = "A sane and fast Markdown parser with useful plugins and renderers"
4
+ authors = [{name = "Hsiaoming Yang", email="me@lepture.com"}]
5
+ dependencies = [
6
+ "typing-extensions; python_version<'3.11'",
7
+ ]
8
+ license = {text = "BSD-3-Clause"}
9
+ dynamic = ["version"]
10
+ requires-python = ">=3.8"
11
+ readme = "README.rst"
12
+ classifiers = [
13
+ "Development Status :: 4 - Beta",
14
+ "Environment :: Console",
15
+ "Environment :: Web Environment",
16
+ "Intended Audience :: Developers",
17
+ "License :: OSI Approved :: BSD License",
18
+ "Operating System :: OS Independent",
19
+ "Programming Language :: Python",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.8",
22
+ "Programming Language :: Python :: 3.9",
23
+ "Programming Language :: Python :: 3.10",
24
+ "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: Implementation :: CPython",
26
+ "Programming Language :: Python :: Implementation :: PyPy",
27
+ "Topic :: Text Processing :: Markup",
28
+ ]
29
+
30
+ [project.urls]
31
+ Documentation = "https://mistune.lepture.com/"
32
+ Source = "https://github.com/lepture/mistune"
33
+ Donate = "https://github.com/sponsors/lepture"
34
+
35
+ [build-system]
36
+ requires = ["setuptools"]
37
+ build-backend = "setuptools.build_meta"
38
+
39
+ [tool.setuptools.dynamic]
40
+ version = {attr = "mistune.__version__"}
41
+
42
+ [tool.setuptools.packages.find]
43
+ where = ["src"]
44
+
45
+ [tool.setuptools.package-data]
46
+ mistune = ["py.typed"]
47
+
48
+ [tool.ruff]
49
+ line-length = 120
50
+
51
+ [tool.pytest.ini_options]
52
+ pythonpath = ["src", "."]
53
+ testpaths = ["tests"]
54
+ filterwarnings = ["error"]
55
+
56
+ [tool.coverage.run]
57
+ branch = true
58
+ source = ["mistune"]
59
+
60
+ [tool.coverage.paths]
61
+ source = ["src"]
62
+
63
+ [tool.coverage.report]
64
+ exclude_lines = [
65
+ "pragma: no cover",
66
+ "def __repr__",
67
+ "raise NotImplementedError",
68
+ "@(abc\\.)?abstractmethod",
69
+ ]
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/setup.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from setuptools import setup
2
+
3
+ setup(name="mistune")
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/__init__.py ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import re
2
+ from abc import abstractmethod
3
+ from unittest import TestCase
4
+
5
+ from tests import fixtures
6
+
7
+
8
+ class BaseTestCase(TestCase):
9
+ @classmethod
10
+ def load_fixtures(cls, case_file: str) -> None:
11
+ def attach_case(n: str, text: str, html: str) -> None:
12
+ def method(self: 'BaseTestCase') -> None:
13
+ self.assert_case(n, text, html)
14
+
15
+ name = 'test_{}'.format(n)
16
+ method.__name__ = name
17
+ method.__doc__ = 'Run fixture {} - {}'.format(case_file, n)
18
+ setattr(cls, name, method)
19
+
20
+ for n, text, html in fixtures.load_examples(case_file):
21
+ if cls.ignore_case(n):
22
+ continue
23
+ attach_case(n, text, html)
24
+
25
+ @classmethod
26
+ def ignore_case(cls, name: str) -> bool:
27
+ return False
28
+
29
+ @abstractmethod
30
+ def parse(self, text: str) -> str: ...
31
+
32
+ def assert_case(self, name: str, text: str, html: str) -> None:
33
+ result = self.parse(text)
34
+ self.assertEqual(result, html)
35
+
36
+
37
+ def normalize_html(html: str) -> str:
38
+ html = re.sub(r'>\n+', '>', html)
39
+ html = re.sub(r'\n+<', '<', html)
40
+ return html.strip()
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/__init__.py ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import re
3
+ import json
4
+ from typing import Any, Iterable, Tuple
5
+
6
+ ROOT = os.path.join(os.path.dirname(__file__))
7
+
8
+ EXAMPLE_PATTERN = re.compile(
9
+ r'^`{32} example\n([\s\S]*?)'
10
+ r'^\.\n([\s\S]*?)'
11
+ r'^`{32}$|^#{1,6} *(.*)$',
12
+ flags=re.M
13
+ )
14
+
15
+
16
+ def load_ast(filename: str) -> Any:
17
+ with open(os.path.join(ROOT, 'ast', filename)) as f:
18
+ return json.load(f)
19
+
20
+
21
+ def load_json(filename: str) -> Any:
22
+ with open(os.path.join(ROOT, filename)) as f:
23
+ return json.load(f)
24
+
25
+
26
+ def load_examples(filename: str) -> Iterable[Tuple[str, str, str]]:
27
+ if filename.endswith('.json'):
28
+ data = load_json(filename)
29
+ for item in data:
30
+ section = item['section'].lower().replace(' ', '_')
31
+ n = '%s_%03d' % (section, item['example'])
32
+ yield n, item['markdown'], item['html']
33
+ else:
34
+ with open(os.path.join(ROOT, filename), 'rb') as f:
35
+ content = f.read()
36
+ s = content.decode('utf-8')
37
+ yield from parse_examples(s)
38
+
39
+
40
+
41
+ def parse_examples(text: str) -> Iterable[Tuple[str, str, str]]:
42
+ data = EXAMPLE_PATTERN.findall(text)
43
+
44
+ section = None
45
+ count = 0
46
+ for md, html, title in data:
47
+ if title:
48
+ count = 0
49
+ section = title.lower().replace(' ', '_')
50
+
51
+ if md and html:
52
+ count += 1
53
+ n = '%s_%03d' % (section, count)
54
+ md = md.replace(u'\u2192', '\t')
55
+ html = html.replace(u'\u2192', '\t')
56
+ yield n, md, html
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/abbr.txt ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Abbreviation
2
+
3
+ ## abbreviation
4
+
5
+ ```````````````````````````````` example
6
+ HTML
7
+ .
8
+ <p>HTML</p>
9
+ ````````````````````````````````
10
+
11
+ ```````````````````````````````` example
12
+ HTML
13
+ *[HTML]: Hyper Text Markup Language
14
+ .
15
+ <p><abbr title="Hyper Text Markup Language">HTML</abbr></p>
16
+ ````````````````````````````````
17
+
18
+ ```````````````````````````````` example
19
+ The HTML specification is maintained by the W3C.
20
+ *[HTML]: Hyper Text Markup Language
21
+ *[W3C]: World Wide Web Consortium
22
+ .
23
+ <p>The <abbr title="Hyper Text Markup Language">HTML</abbr> specification is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
24
+ ````````````````````````````````
25
+
26
+ ```````````````````````````````` example
27
+ The HTML specification is maintained by the W3C.
28
+ *[HTML]:
29
+ Hyper Text Markup Language
30
+ *[W3C]:
31
+ World Wide Web Consortium
32
+ .
33
+ <p>The <abbr title="Hyper Text Markup Language">HTML</abbr> specification is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
34
+ ````````````````````````````````
35
+
36
+ ```````````````````````````````` example
37
+ The HTML specification is maintained by the W3C.
38
+ *[HTML]: Hyper Text Markup Language
39
+ *[W3C]: World Wide Web Consortium
40
+ There is more text below this one.
41
+ .
42
+ <p>The <abbr title="Hyper Text Markup Language">HTML</abbr> specification is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
43
+ <p>There is more text below this one.</p>
44
+ ````````````````````````````````
45
+
46
+ ```````````````````````````````` example
47
+ The latest spec of HTML is HTML5.
48
+ *[HTML]: Hyper Text Markup Language
49
+ .
50
+ <p>The latest spec of <abbr title="Hyper Text Markup Language">HTML</abbr> is <abbr title="Hyper Text Markup Language">HTML</abbr>5.</p>
51
+ ````````````````````````````````
52
+
53
+ ```````````````````````````````` example
54
+ HTML should always be spelt with capital letters and not spelt html.
55
+ *[HTML]: Hyper Text Markup Language
56
+ .
57
+ <p><abbr title="Hyper Text Markup Language">HTML</abbr> should always be spelt with capital letters and not spelt html.</p>
58
+ ````````````````````````````````
59
+
60
+ ```````````````````````````````` example
61
+ HTML is an abbreviation but nobody knows what it stands for.
62
+ *[HTML]:
63
+ .
64
+ <p><abbr>HTML</abbr> is an abbreviation but nobody knows what it stands for.</p>
65
+ ````````````````````````````````
66
+
67
+ ```````````````````````````````` example
68
+ Foo.* looks like a regular expression.
69
+ *[Foo.*]: Just foo
70
+ .
71
+ <p><abbr title="Just foo">Foo.*</abbr> looks like a regular expression.</p>
72
+ ````````````````````````````````
73
+
74
+ ```````````````````````````````` example
75
+ Untrusted HTML should be escaped.
76
+ *[HTML]: <p>This is some HTML</p>
77
+ .
78
+ <p>Untrusted <abbr title="&lt;p&gt;This is some HTML&lt;/p&gt;">HTML</abbr> should be escaped.</p>
79
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/commonmark.json ADDED
The diff for this file is too large to render. See raw diff
 
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/def_list.txt ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Definition Lists
2
+
3
+ ```````````````````````````````` example
4
+ Term
5
+ : definition
6
+ .
7
+ <dl>
8
+ <dt>Term</dt>
9
+ <dd>definition</dd>
10
+ </dl>
11
+ ````````````````````````````````
12
+
13
+ ```````````````````````````````` example
14
+ Term
15
+ : definition1
16
+ : definition2
17
+ .
18
+ <dl>
19
+ <dt>Term</dt>
20
+ <dd>definition1</dd>
21
+ <dd>definition2</dd>
22
+ </dl>
23
+ ````````````````````````````````
24
+
25
+ ```````````````````````````````` example
26
+ Term
27
+ : definition1
28
+ : definition2
29
+
30
+ paragraph
31
+ .
32
+ <dl>
33
+ <dt>Term</dt>
34
+ <dd>definition1</dd>
35
+ <dd>definition2</dd>
36
+ </dl>
37
+ <p>paragraph</p>
38
+ ````````````````````````````````
39
+
40
+ ```````````````````````````````` example
41
+ First Term
42
+ : This is the definition of the first term.
43
+
44
+ Second Term
45
+ : This is one definition of the second term.
46
+ : This is another definition of the second term.
47
+ .
48
+ <dl>
49
+ <dt>First Term</dt>
50
+ <dd>This is the definition of the first term.</dd>
51
+ <dt>Second Term</dt>
52
+ <dd>This is one definition of the second term.</dd>
53
+ <dd>This is another definition of the second term.</dd>
54
+ </dl>
55
+ ````````````````````````````````
56
+
57
+ ```````````````````````````````` example
58
+ First Term
59
+ : This is the definition of the first term.
60
+
61
+ Second Term
62
+ : This is one definition of the second term.
63
+ : This is another definition of the second term.
64
+
65
+ paragraph
66
+ .
67
+ <dl>
68
+ <dt>First Term</dt>
69
+ <dd>This is the definition of the first term.</dd>
70
+ <dt>Second Term</dt>
71
+ <dd>This is one definition of the second term.</dd>
72
+ <dd>This is another definition of the second term.</dd>
73
+ </dl>
74
+ <p>paragraph</p>
75
+ ````````````````````````````````
76
+
77
+ ```````````````````````````````` example
78
+ First Term
79
+ : This is the definition of the first term.
80
+ Not Second Term
81
+ : This is one definition of the second term.
82
+ : This is another definition of the second term.
83
+
84
+ paragraph
85
+ .
86
+ <dl>
87
+ <dt>First Term</dt>
88
+ <dd>This is the definition of the first term.
89
+ Not Second Term</dd>
90
+ <dd>This is one definition of the second term.</dd>
91
+ <dd>This is another definition of the second term.</dd>
92
+ </dl>
93
+ <p>paragraph</p>
94
+ ````````````````````````````````
95
+
96
+ ## Definition with Multiple Lines
97
+
98
+ ```````````````````````````````` example
99
+ Term
100
+
101
+ : definition
102
+ .
103
+ <dl>
104
+ <dt>Term</dt>
105
+ <dd><p>definition</p>
106
+ </dd>
107
+ </dl>
108
+ ````````````````````````````````
109
+
110
+
111
+ ```````````````````````````````` example
112
+ Term
113
+ : foo
114
+
115
+ bar
116
+ .
117
+ <dl>
118
+ <dt>Term</dt>
119
+ <dd><p>foo</p>
120
+ <p>bar</p>
121
+ </dd>
122
+ </dl>
123
+ ````````````````````````````````
124
+
125
+ Leading 4 white spaces
126
+
127
+ ```````````````````````````````` example
128
+ Term
129
+ : foo
130
+
131
+ bar
132
+ .
133
+ <dl>
134
+ <dt>Term</dt>
135
+ <dd><p>foo</p>
136
+ <p>bar</p>
137
+ </dd>
138
+ </dl>
139
+ ````````````````````````````````
140
+
141
+
142
+ ```````````````````````````````` example
143
+ Term
144
+ : foo
145
+
146
+ bar
147
+ .
148
+ <dl>
149
+ <dt>Term</dt>
150
+ <dd><p>foo</p>
151
+ <pre><code>bar</code></pre>
152
+ </dd>
153
+ </dl>
154
+ ````````````````````````````````
155
+
156
+ ```````````````````````````````` example
157
+ Term
158
+ : foo
159
+
160
+ - bar
161
+ - baz
162
+ .
163
+ <dl>
164
+ <dt>Term</dt>
165
+ <dd><p>foo</p>
166
+ <ul>
167
+ <li>bar</li>
168
+ <li>baz</li>
169
+ </ul>
170
+ </dd>
171
+ </dl>
172
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/diff-commonmark.txt ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Differences
2
+
3
+ Results different than commonmark.
4
+
5
+
6
+ ## Setext headings
7
+
8
+
9
+ Example: 93
10
+
11
+
12
+ ```````````````````````````````` example
13
+ > foo
14
+ bar
15
+ ===
16
+ .
17
+ <blockquote>
18
+ <h1>foo
19
+ bar</h1>
20
+ </blockquote>
21
+ ````````````````````````````````
22
+
23
+ If the dash is less than 3, it is not a `<hr>`, in this case, it
24
+ can be rendered into `<h2>`.
25
+
26
+ ```````````````````````````````` example
27
+ - # Foo
28
+ - Bar
29
+ --
30
+ baz
31
+ .
32
+ <ul>
33
+ <li>
34
+ <h1>Foo</h1>
35
+ </li>
36
+ <li>
37
+ <h2>Bar</h2>
38
+ baz</li>
39
+ </ul>
40
+ ````````````````````````````````
41
+
42
+ ## Image
43
+
44
+ Example 573
45
+
46
+ ```````````````````````````````` example
47
+ ![foo ![bar](/url)](/url2)
48
+ .
49
+ <p><img src="/url2" alt="foo ![bar](/url)" /></p>
50
+ ````````````````````````````````
51
+
52
+ ## Link
53
+
54
+ Example 517
55
+
56
+ ```````````````````````````````` example
57
+ [foo [bar](/uri)](/uri)
58
+ .
59
+ <p><a href="/uri">foo [bar](/uri)</a></p>
60
+ ````````````````````````````````
61
+
62
+ Example 518
63
+
64
+ ```````````````````````````````` example
65
+ [foo *[bar [baz](/uri)](/uri)*](/uri)
66
+ .
67
+ <p><a href="/uri">foo <em>[bar [baz](/uri)](/uri)</em></a></p>
68
+ ````````````````````````````````
69
+
70
+ Example 519
71
+
72
+ ```````````````````````````````` example
73
+ ![[[foo](uri1)](uri2)](uri3)
74
+ .
75
+ <p><img src="uri3" alt="[foo](uri1)" /></p>
76
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_admonition.txt ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Admonition
2
+
3
+ ```````````````````````````````` example
4
+ ```{unknown} Hi
5
+
6
+ this is **strong** world
7
+ ```
8
+ .
9
+ <div class="error"><pre>{unknown} Hi
10
+
11
+ this is **strong** world
12
+ </pre></div>
13
+ ````````````````````````````````
14
+
15
+ ```````````````````````````````` example
16
+ ```
17
+ this is code
18
+ ```
19
+ .
20
+ <pre><code>this is code
21
+ </code></pre>
22
+ ````````````````````````````````
23
+
24
+
25
+ ```````````````````````````````` example
26
+ ~~~{note} Warning
27
+
28
+ message
29
+ ~~~
30
+ .
31
+ <section class="admonition note">
32
+ <p class="admonition-title">Warning</p>
33
+ <p>message</p>
34
+ </section>
35
+ ````````````````````````````````
36
+
37
+ ```````````````````````````````` example
38
+ ~~~{note} A **strong** title
39
+
40
+ _message_
41
+ ~~~
42
+ .
43
+ <section class="admonition note">
44
+ <p class="admonition-title">A <strong>strong</strong> title</p>
45
+ <p><em>message</em></p>
46
+ </section>
47
+ ````````````````````````````````
48
+
49
+ Test with code block.
50
+
51
+ ```````````````````````````````` example
52
+ ```{note}
53
+
54
+ print()
55
+ ```
56
+ .
57
+ <section class="admonition note">
58
+ <p class="admonition-title">Note</p>
59
+ <pre><code>print()</code></pre>
60
+ </section>
61
+ ````````````````````````````````
62
+
63
+ Test with no message.
64
+
65
+ ```````````````````````````````` example
66
+ ~~~{note} Warning
67
+ ~~~
68
+ .
69
+ <section class="admonition note">
70
+ <p class="admonition-title">Warning</p>
71
+ </section>
72
+ ````````````````````````````````
73
+
74
+ Test with no ending fence
75
+
76
+ ```````````````````````````````` example
77
+ ~~~{note} Warning
78
+ .
79
+ <section class="admonition note">
80
+ <p class="admonition-title">Warning</p>
81
+ </section>
82
+ ````````````````````````````````
83
+
84
+ Test with nested admonition
85
+
86
+ ```````````````````````````````` example
87
+ ~~~~~~~{note}
88
+ ~~~~~~{warning}
89
+ ~~~~~{tip}
90
+ ~~~~{caution}
91
+ ~~~{hint}
92
+ ``````{danger}
93
+ `````{attention}
94
+ ````{important}
95
+ ```{error}
96
+ ```
97
+ ````
98
+ `````
99
+ ``````
100
+ ~~~
101
+ ~~~~
102
+ ~~~~~
103
+ ~~~~~~
104
+ ~~~~~~~
105
+ .
106
+ <section class="admonition note">
107
+ <p class="admonition-title">Note</p>
108
+ <section class="admonition warning">
109
+ <p class="admonition-title">Warning</p>
110
+ <section class="admonition tip">
111
+ <p class="admonition-title">Tip</p>
112
+ <section class="admonition caution">
113
+ <p class="admonition-title">Caution</p>
114
+ <section class="admonition hint">
115
+ <p class="admonition-title">Hint</p>
116
+ <section class="admonition danger">
117
+ <p class="admonition-title">Danger</p>
118
+ <pre><code class="language-{attention}">````{important}
119
+ ```{error}
120
+ ```
121
+ ````
122
+ </code></pre>
123
+ </section>
124
+ </section>
125
+ </section>
126
+ </section>
127
+ </section>
128
+ </section>
129
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_figure.txt ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Figure
2
+
3
+ ## No options
4
+
5
+ ```````````````````````````````` example
6
+ ~~~{figure} picture.png
7
+ ~~~
8
+ .
9
+ <figure class="figure">
10
+ <div class="block-image"><img src="picture.png" /></div>
11
+ </figure>
12
+ ````````````````````````````````
13
+
14
+ ## Align options
15
+
16
+ ```````````````````````````````` example
17
+ ~~~{figure} picture.png
18
+ :align: left
19
+ ~~~
20
+ .
21
+ <figure class="figure align-left">
22
+ <div class="block-image"><img src="picture.png" /></div>
23
+ </figure>
24
+ ````````````````````````````````
25
+
26
+
27
+ ```````````````````````````````` example
28
+ ~~~{figure} picture.png
29
+ :align: invalid
30
+ ~~~
31
+ .
32
+ <figure class="figure">
33
+ <div class="block-image"><img src="picture.png" /></div>
34
+ </figure>
35
+ ````````````````````````````````
36
+
37
+ ## width and height
38
+
39
+ ```````````````````````````````` example
40
+ ~~~{figure} picture.png
41
+ :width: 100
42
+ :height: 50
43
+ ~~~
44
+ .
45
+ <figure class="figure">
46
+ <div class="block-image"><img src="picture.png" width="100" height="50" /></div>
47
+ </figure>
48
+ ````````````````````````````````
49
+
50
+ ```````````````````````````````` example
51
+ ~~~{figure} picture.png
52
+ :width: 100px
53
+ :height: 50px
54
+ ~~~
55
+ .
56
+ <figure class="figure">
57
+ <div class="block-image"><img src="picture.png" style="width:100px;height:50px;" /></div>
58
+ </figure>
59
+ ````````````````````````````````
60
+
61
+ ```````````````````````````````` example
62
+ ~~~{figure} picture.png
63
+ :figwidth: 400px
64
+ ~~~
65
+ .
66
+ <figure class="figure" style="width:400px">
67
+ <div class="block-image"><img src="picture.png" /></div>
68
+ </figure>
69
+ ````````````````````````````````
70
+
71
+ ## alt option
72
+
73
+ ```````````````````````````````` example
74
+ ~~~{figure} picture.png
75
+ :alt: description text
76
+ ~~~
77
+ .
78
+ <figure class="figure">
79
+ <div class="block-image"><img src="picture.png" alt="description text" /></div>
80
+ </figure>
81
+ ````````````````````````````````
82
+
83
+ ## target option
84
+
85
+ ```````````````````````````````` example
86
+ ~~~{figure} picture.png
87
+ :target: https://lepture.com
88
+ ~~~
89
+ .
90
+ <figure class="figure">
91
+ <a class="block-image" href="https://lepture.com"><img src="picture.png" /></a>
92
+ </figure>
93
+ ````````````````````````````````
94
+
95
+ ## caption
96
+
97
+ ```````````````````````````````` example
98
+ ~~~{figure} picture.png
99
+ a caption with **emphasis** text
100
+ ~~~
101
+ .
102
+ <figure class="figure">
103
+ <div class="block-image"><img src="picture.png" /></div>
104
+ <figcaption>a caption with <strong>emphasis</strong> text</figcaption>
105
+ </figure>
106
+ ````````````````````````````````
107
+
108
+ ## legend
109
+
110
+ ```````````````````````````````` example
111
+ ~~~{figure} picture.png
112
+ a caption with **emphasis** text
113
+
114
+ > quote
115
+ ~~~
116
+ .
117
+ <figure class="figure">
118
+ <div class="block-image"><img src="picture.png" /></div>
119
+ <figcaption>a caption with <strong>emphasis</strong> text</figcaption>
120
+ <div class="legend">
121
+ <blockquote>
122
+ <p>quote</p>
123
+ </blockquote>
124
+ </div>
125
+ </figure>
126
+ ````````````````````````````````
127
+
128
+
129
+ ```````````````````````````````` example
130
+ ~~~{figure} picture.png
131
+ > quote
132
+ ~~~
133
+ .
134
+ <figure class="figure">
135
+ <div class="block-image"><img src="picture.png" /></div>
136
+ </figure>
137
+ ````````````````````````````````
138
+
139
+ ## all options
140
+
141
+
142
+ ```````````````````````````````` example
143
+ ~~~{figure} picture.png
144
+ :figwidth: 400px
145
+ :figclass: all-options
146
+ :target: https://lepture.com
147
+ :alt: description
148
+ :align: left
149
+ :width: 100
150
+ :height: 50
151
+
152
+ a caption with **emphasis** text
153
+
154
+ > quote
155
+ ~~~
156
+ .
157
+ <figure class="figure align-left all-options" style="width:400px">
158
+ <a class="block-image" href="https://lepture.com"><img src="picture.png" alt="description" width="100" height="50" /></a>
159
+ <figcaption>a caption with <strong>emphasis</strong> text</figcaption>
160
+ <div class="legend">
161
+ <blockquote>
162
+ <p>quote</p>
163
+ </blockquote>
164
+ </div>
165
+ </figure>
166
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_image.txt ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Image
2
+
3
+ ## No options
4
+
5
+ ```````````````````````````````` example
6
+ ~~~{image} picture.png
7
+ ~~~
8
+ .
9
+ <div class="block-image"><img src="picture.png" /></div>
10
+ ````````````````````````````````
11
+
12
+ ## Align options
13
+
14
+ ```````````````````````````````` example
15
+ ~~~{image} picture.png
16
+ :align: left
17
+ ~~~
18
+ .
19
+ <div class="block-image align-left"><img src="picture.png" /></div>
20
+ ````````````````````````````````
21
+
22
+
23
+ ```````````````````````````````` example
24
+ ~~~{image} picture.png
25
+ :align: invalid
26
+ ~~~
27
+ .
28
+ <div class="block-image"><img src="picture.png" /></div>
29
+ ````````````````````````````````
30
+
31
+ ## width and height
32
+
33
+ ```````````````````````````````` example
34
+ ~~~{image} picture.png
35
+ :width: 100
36
+ :height: 50
37
+ ~~~
38
+ .
39
+ <div class="block-image"><img src="picture.png" width="100" height="50" /></div>
40
+ ````````````````````````````````
41
+
42
+ ```````````````````````````````` example
43
+ ~~~{image} picture.png
44
+ :width: 100px
45
+ :height: 50px
46
+ ~~~
47
+ .
48
+ <div class="block-image"><img src="picture.png" style="width:100px;height:50px;" /></div>
49
+ ````````````````````````````````
50
+
51
+ ## alt option
52
+
53
+ ```````````````````````````````` example
54
+ ~~~{image} picture.png
55
+ :alt: description text
56
+ ~~~
57
+ .
58
+ <div class="block-image"><img src="picture.png" alt="description text" /></div>
59
+ ````````````````````````````````
60
+
61
+ ## target option
62
+
63
+ ```````````````````````````````` example
64
+ ~~~{image} picture.png
65
+ :target: https://lepture.com
66
+ ~~~
67
+ .
68
+ <a class="block-image" href="https://lepture.com"><img src="picture.png" /></a>
69
+ ````````````````````````````````
70
+
71
+ ## all options
72
+
73
+ ```````````````````````````````` example
74
+ ~~~{image} picture.png
75
+ :target: https://lepture.com
76
+ :alt: description
77
+ :align: left
78
+ :width: 100
79
+ :height: 50
80
+ ~~~
81
+ .
82
+ <a class="block-image align-left" href="https://lepture.com"><img src="picture.png" alt="description" width="100" height="50" /></a>
83
+ ````````````````````````````````
84
+
85
+ ## ampersand in source
86
+
87
+ ```````````````````````````````` example
88
+ ~~~{image} https://example.com/picture.png?foo=qux&test=me
89
+ ~~~
90
+ .
91
+ <div class="block-image"><img src="https://example.com/picture.png?foo=qux&amp;test=me" /></div>
92
+ ````````````````````````````````
93
+
94
+ ## ampersand in target
95
+
96
+ ```````````````````````````````` example
97
+ ~~~{image} picture.png
98
+ :target: https://example.com/rickroll?a=1&b=2
99
+ ~~~
100
+ .
101
+ <a class="block-image" href="https://example.com/rickroll?a=1&amp;b=2"><img src="picture.png" /></a>
102
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fenced_toc.txt ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Table of Contents
2
+
3
+ ## No TOC
4
+
5
+ ```````````````````````````````` example
6
+ none
7
+ .
8
+ <p>none</p>
9
+ ````````````````````````````````
10
+
11
+ ```````````````````````````````` example
12
+ # H1
13
+ ## H2
14
+ .
15
+ <h1>H1</h1>
16
+ <h2>H2</h2>
17
+ ````````````````````````````````
18
+
19
+
20
+ ## Simple TOC
21
+
22
+ ```````````````````````````````` example
23
+ ~~~{toc}
24
+ ~~~
25
+
26
+ # H1
27
+ ## H2
28
+ .
29
+ <details class="toc" open>
30
+ <summary>Table of Contents</summary>
31
+ <ul>
32
+ <li><a href="#toc_1">H1</a>
33
+ <ul>
34
+ <li><a href="#toc_2">H2</a></li>
35
+ </ul>
36
+ </li>
37
+ </ul>
38
+ </details>
39
+ <h1 id="toc_1">H1</h1>
40
+ <h2 id="toc_2">H2</h2>
41
+ ````````````````````````````````
42
+
43
+ ## Invalid Option
44
+
45
+ ```````````````````````````````` example
46
+ # H1
47
+ ## H2
48
+
49
+ ~~~{toc}
50
+ :max-level: s
51
+ ~~~
52
+ .
53
+ <h1>H1</h1>
54
+ <h2>H2</h2>
55
+ <div class="error"><pre>"max-level" option MUST be integer</pre></div>
56
+ ````````````````````````````````
57
+
58
+ ```````````````````````````````` example
59
+ # H1
60
+ ## H2
61
+
62
+ ~~~{toc}
63
+ :max-level: 9
64
+ ~~~
65
+ .
66
+ <h1>H1</h1>
67
+ <h2>H2</h2>
68
+ <div class="error"><pre>"max-level" option MUST be <= 3</pre></div>
69
+ ````````````````````````````````
70
+
71
+ ```````````````````````````````` example
72
+ # H1
73
+ ## H2
74
+
75
+ ~~~{toc}
76
+ :min-level: 2
77
+ :max-level: 1
78
+ ~~~
79
+ .
80
+ <h1>H1</h1>
81
+ <h2>H2</h2>
82
+ <div class="error"><pre>"min-level" option MUST be less than "max-level" option</pre></div>
83
+ ````````````````````````````````
84
+
85
+ ## Complex
86
+
87
+ ```````````````````````````````` example
88
+ # H1
89
+ ## H2
90
+ ### H3
91
+ #### H4
92
+ # H1 B
93
+ # H1 `C`
94
+
95
+ ```{toc} Contents
96
+ ```
97
+ .
98
+ <h1 id="toc_1">H1</h1>
99
+ <h2 id="toc_2">H2</h2>
100
+ <h3 id="toc_3">H3</h3>
101
+ <h4 id="toc_4">H4</h4>
102
+ <h1 id="toc_5">H1 B</h1>
103
+ <h1 id="toc_6">H1 <code>C</code></h1>
104
+ <details class="toc" open>
105
+ <summary>Contents</summary>
106
+ <ul>
107
+ <li><a href="#toc_1">H1</a>
108
+ <ul>
109
+ <li><a href="#toc_2">H2</a>
110
+ <ul>
111
+ <li><a href="#toc_3">H3</a></li>
112
+ </ul>
113
+ </li>
114
+ </ul>
115
+ </li>
116
+ <li><a href="#toc_5">H1 B</a></li>
117
+ <li><a href="#toc_6">H1 C</a></li>
118
+ </ul>
119
+ </details>
120
+ ````````````````````````````````
121
+
122
+ ## Insane
123
+
124
+ ```````````````````````````````` example
125
+ # H1
126
+ ### H3
127
+ ## H2
128
+ #### H4
129
+ ### H3 B
130
+ # H1 B
131
+
132
+ ```{toc}
133
+ ```
134
+ .
135
+ <h1 id="toc_1">H1</h1>
136
+ <h3 id="toc_2">H3</h3>
137
+ <h2 id="toc_3">H2</h2>
138
+ <h4 id="toc_4">H4</h4>
139
+ <h3 id="toc_5">H3 B</h3>
140
+ <h1 id="toc_6">H1 B</h1>
141
+ <details class="toc" open>
142
+ <summary>Table of Contents</summary>
143
+ <ul>
144
+ <li><a href="#toc_1">H1</a>
145
+ <ul>
146
+ <li><a href="#toc_2">H3</a></li>
147
+ <li><a href="#toc_3">H2</a>
148
+ <ul>
149
+ <li><a href="#toc_5">H3 B</a></li>
150
+ </ul>
151
+ </li>
152
+ </ul>
153
+ </li>
154
+ <li><a href="#toc_6">H1 B</a></li>
155
+ </ul>
156
+ </details>
157
+ ````````````````````````````````
158
+
159
+ ```````````````````````````````` example
160
+ ### H3
161
+ ## H2
162
+ # H1
163
+
164
+ ```{toc}
165
+ ```
166
+ .
167
+ <h3 id="toc_1">H3</h3>
168
+ <h2 id="toc_2">H2</h2>
169
+ <h1 id="toc_3">H1</h1>
170
+ <details class="toc" open>
171
+ <summary>Table of Contents</summary>
172
+ <ul>
173
+ <li><a href="#toc_1">H3</a></li>
174
+ <li><a href="#toc_2">H2</a></li>
175
+ <li><a href="#toc_3">H1</a></li>
176
+ </ul>
177
+ </details>
178
+ ````````````````````````````````
179
+
180
+ ## Link in Heading
181
+
182
+
183
+ ```````````````````````````````` example
184
+ # [foo](/bar)
185
+
186
+ ```{toc}
187
+ ```
188
+ .
189
+ <h1 id="toc_1"><a href="/bar">foo</a></h1>
190
+ <details class="toc" open>
191
+ <summary>Table of Contents</summary>
192
+ <ul>
193
+ <li><a href="#toc_1">foo</a></li>
194
+ </ul>
195
+ </details>
196
+ ````````````````````````````````
197
+
198
+ ## HTML in Heading
199
+
200
+ ```````````````````````````````` example
201
+ # <em>H1</em>
202
+ ```{toc}
203
+ ```
204
+ .
205
+ <h1 id="toc_1"><em>H1</em></h1>
206
+ <details class="toc" open>
207
+ <summary>Table of Contents</summary>
208
+ <ul>
209
+ <li><a href="#toc_1">H1</a></li>
210
+ </ul>
211
+ </details>
212
+ ````````````````````````````````
213
+
214
+ ## Collapse TOC
215
+
216
+ ```````````````````````````````` example
217
+
218
+ ```{toc}
219
+ :collapse:
220
+ ```
221
+
222
+ # H1
223
+ ## H2
224
+ .
225
+ <details class="toc">
226
+ <summary>Table of Contents</summary>
227
+ <ul>
228
+ <li><a href="#toc_1">H1</a>
229
+ <ul>
230
+ <li><a href="#toc_2">H2</a></li>
231
+ </ul>
232
+ </li>
233
+ </ul>
234
+ </details>
235
+ <h1 id="toc_1">H1</h1>
236
+ <h2 id="toc_2">H2</h2>
237
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/fix-commonmark.txt ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Fix problems that commonmark has.
2
+
3
+
4
+ ## Links
5
+
6
+ Links can't contain links.
7
+
8
+ ```````````````````````````````` example
9
+ [<https://example.com>](/foo)
10
+ .
11
+ <p><a href="/foo">&lt;https://example.com&gt;</a></p>
12
+ ````````````````````````````````
13
+
14
+ ```````````````````````````````` example
15
+ [<name@example.com>](/foo)
16
+ .
17
+ <p><a href="/foo">&lt;name@example.com&gt;</a></p>
18
+ ````````````````````````````````
19
+
20
+ ## Emphasis
21
+
22
+ `<em>` doesn't contain `<em>`, `<strong>` doesn't contain `<strong>`.
23
+
24
+ ```````````````````````````````` example
25
+ *_em_* __**strong**__ ______m______
26
+ .
27
+ <p><em>_em_</em> <strong>**strong**</strong> ______m______</p>
28
+ ````````````````````````````````
29
+
30
+ ### Non aggressive emphasis
31
+
32
+ ```````````````````````````````` example
33
+ *a **b c* d**
34
+ .
35
+ <p><em>a **b c</em> d**</p>
36
+ ````````````````````````````````
37
+
38
+ While CommonMark would render it into:
39
+
40
+ ```
41
+ <p><em>a <em><em>b c</em> d</em></em></p>
42
+ ```
43
+
44
+ ```````````````````````````````` example
45
+ *a **b c* d**
46
+ .
47
+ <p><em>a **b c</em> d**</p>
48
+ ````````````````````````````````
49
+
50
+ While CommonMark would render it into:
51
+
52
+ ```
53
+ <p><em>a <em><em>b c</em> d</em></em></p>
54
+ ```
55
+
56
+ What if the string is:
57
+
58
+ ```````````````````````````````` example
59
+ *a **b c* d
60
+ .
61
+ <p><em>a **b c</em> d</p>
62
+ ````````````````````````````````
63
+
64
+ CommonMark would still be a mess:
65
+
66
+ ```
67
+ <p>*a *<em>b c</em> d</p>
68
+ ```
69
+
70
+
71
+ ## Max depth
72
+
73
+
74
+ ```````````````````````````````` example
75
+ > > > > > > > > b
76
+ .
77
+ <blockquote>
78
+ <blockquote>
79
+ <blockquote>
80
+ <blockquote>
81
+ <blockquote>
82
+ <blockquote>
83
+ <p>&gt; &gt; b</p>
84
+ </blockquote>
85
+ </blockquote>
86
+ </blockquote>
87
+ </blockquote>
88
+ </blockquote>
89
+ </blockquote>
90
+ ````````````````````````````````
91
+
92
+
93
+ ```````````````````````````````` example
94
+ - a
95
+ - b
96
+ - c
97
+ - d
98
+ - e
99
+ - f
100
+ - g
101
+ - h
102
+ .
103
+ <ul>
104
+ <li>a<ul>
105
+ <li>b<ul>
106
+ <li>c<ul>
107
+ <li>d<ul>
108
+ <li>e<ul>
109
+ <li>f
110
+ - g
111
+ - h</li>
112
+ </ul>
113
+ </li>
114
+ </ul>
115
+ </li>
116
+ </ul>
117
+ </li>
118
+ </ul>
119
+ </li>
120
+ </ul>
121
+ </li>
122
+ </ul>
123
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/footnotes.txt ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Footnotes
2
+
3
+ ```````````````````````````````` example
4
+ none [^1]
5
+ .
6
+ <p>none [^1]</p>
7
+ ````````````````````````````````
8
+
9
+ ```````````````````````````````` example
10
+ oneline [^1]
11
+
12
+ [^1]: foo
13
+ .
14
+ <p>oneline <sup class="footnote-ref" id="fnref-1"><a href="#fn-1">1</a></sup></p>
15
+ <section class="footnotes">
16
+ <ol>
17
+ <li id="fn-1"><p>foo<a href="#fnref-1" class="footnote">&#8617;</a></p></li>
18
+ </ol>
19
+ </section>
20
+ ````````````````````````````````
21
+
22
+ ```````````````````````````````` example
23
+ multiple lines [^1]
24
+
25
+ [^1]: foo
26
+
27
+ one
28
+
29
+ two
30
+
31
+ three
32
+
33
+ four
34
+ .
35
+ <p>multiple lines <sup class="footnote-ref" id="fnref-1"><a href="#fn-1">1</a></sup></p>
36
+ <pre><code>four</code></pre>
37
+ <section class="footnotes">
38
+ <ol>
39
+ <li id="fn-1"><p>foo</p>
40
+ <p>one</p>
41
+ <p>two</p>
42
+ <p>three<a href="#fnref-1" class="footnote">&#8617;</a></p></li>
43
+ </ol>
44
+ </section>
45
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/hook_toc.txt ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Table of Contents
2
+
3
+ ## Simple TOC
4
+
5
+ ```````````````````````````````` example
6
+ # H1
7
+
8
+ content
9
+
10
+ ## H2
11
+ .
12
+ <h1 id="toc_1">H1</h1>
13
+ <p>content</p>
14
+ <h2 id="toc_2">H2</h2>
15
+ <ul>
16
+ <li><a href="#toc_1">H1</a>
17
+ <ul>
18
+ <li><a href="#toc_2">H2</a></li>
19
+ </ul>
20
+ </li>
21
+ </ul>
22
+ ````````````````````````````````
23
+
24
+ ## Complex TOC
25
+
26
+ ```````````````````````````````` example
27
+ # H1
28
+ ## H2
29
+ ### H3
30
+ #### H4
31
+ # H1 B
32
+ # H1 `C`
33
+ .
34
+ <h1 id="toc_1">H1</h1>
35
+ <h2 id="toc_2">H2</h2>
36
+ <h3 id="toc_3">H3</h3>
37
+ <h4>H4</h4>
38
+ <h1 id="toc_4">H1 B</h1>
39
+ <h1 id="toc_5">H1 <code>C</code></h1>
40
+ <ul>
41
+ <li><a href="#toc_1">H1</a>
42
+ <ul>
43
+ <li><a href="#toc_2">H2</a>
44
+ <ul>
45
+ <li><a href="#toc_3">H3</a></li>
46
+ </ul>
47
+ </li>
48
+ </ul>
49
+ </li>
50
+ <li><a href="#toc_4">H1 B</a></li>
51
+ <li><a href="#toc_5">H1 C</a></li>
52
+ </ul>
53
+ ````````````````````````````````
54
+
55
+ ## Insane TOC
56
+
57
+ ```````````````````````````````` example
58
+ # H1
59
+ ### H3
60
+ ## H2
61
+ #### H4
62
+ ### H3 B
63
+ # H1 B
64
+ .
65
+ <h1 id="toc_1">H1</h1>
66
+ <h3 id="toc_2">H3</h3>
67
+ <h2 id="toc_3">H2</h2>
68
+ <h4>H4</h4>
69
+ <h3 id="toc_4">H3 B</h3>
70
+ <h1 id="toc_5">H1 B</h1>
71
+ <ul>
72
+ <li><a href="#toc_1">H1</a>
73
+ <ul>
74
+ <li><a href="#toc_2">H3</a></li>
75
+ <li><a href="#toc_3">H2</a>
76
+ <ul>
77
+ <li><a href="#toc_4">H3 B</a></li>
78
+ </ul>
79
+ </li>
80
+ </ul>
81
+ </li>
82
+ <li><a href="#toc_5">H1 B</a></li>
83
+ </ul>
84
+ ````````````````````````````````
85
+
86
+ ```````````````````````````````` example
87
+ ### H3
88
+ ## H2
89
+ # H1
90
+ .
91
+ <h3 id="toc_1">H3</h3>
92
+ <h2 id="toc_2">H2</h2>
93
+ <h1 id="toc_3">H1</h1>
94
+ <ul>
95
+ <li><a href="#toc_1">H3</a></li>
96
+ <li><a href="#toc_2">H2</a></li>
97
+ <li><a href="#toc_3">H1</a></li>
98
+ </ul>
99
+ ````````````````````````````````
100
+
101
+ ## Link in Heading
102
+
103
+
104
+ ```````````````````````````````` example
105
+ # [foo](/bar)
106
+ .
107
+ <h1 id="toc_1"><a href="/bar">foo</a></h1>
108
+ <ul>
109
+ <li><a href="#toc_1">foo</a></li>
110
+ </ul>
111
+ ````````````````````````````````
112
+
113
+ ## HTML in Heading
114
+
115
+ ```````````````````````````````` example
116
+ # <em>H1</em>
117
+ .
118
+ <h1 id="toc_1"><em>H1</em></h1>
119
+ <ul>
120
+ <li><a href="#toc_1">H1</a></li>
121
+ </ul>
122
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/hello.md ADDED
@@ -0,0 +1 @@
 
 
1
+ > hello
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/hello.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ hello
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/text.html ADDED
@@ -0,0 +1 @@
 
 
1
+ <div>include html</div>
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/include/text.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Include
2
+
3
+ .. include:: ./text.md
4
+
5
+ .. include:: ./not-exist.md
6
+
7
+ .. include:: ./text.html
8
+ :encoding: utf-8
9
+
10
+ .. include:: ./hello.md
11
+
12
+ .. include:: ../rst_toc.txt
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/insert.txt ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Insert
2
+
3
+ ```````````````````````````````` example
4
+ ^^insert me
5
+ .
6
+ <p>^^insert me</p>
7
+ ````````````````````````````````
8
+
9
+
10
+ ## normal insert
11
+
12
+ ```````````````````````````````` example
13
+ ^^insert me^^
14
+ .
15
+ <p><ins>insert me</ins></p>
16
+ ````````````````````````````````
17
+
18
+ ```````````````````````````````` example
19
+ foo ^^insert me^^
20
+ .
21
+ <p>foo <ins>insert me</ins></p>
22
+ ````````````````````````````````
23
+
24
+ ```````````````````````````````` example
25
+ ^^insert me^^foo
26
+ .
27
+ <p><ins>insert me</ins>foo</p>
28
+ ````````````````````````````````
29
+
30
+ ```````````````````````````````` example
31
+ ^^insert me^^^
32
+ .
33
+ <p>^^insert me^^^</p>
34
+ ````````````````````````````````
35
+
36
+ ## escape insert
37
+
38
+ ```````````````````````````````` example
39
+ ^^insert me\^^^
40
+ .
41
+ <p><ins>insert me^</ins></p>
42
+ ````````````````````````````````
43
+
44
+ ```````````````````````````````` example
45
+ ^^insert \^\^ me^^
46
+ .
47
+ <p><ins>insert ^^ me</ins></p>
48
+ ````````````````````````````````
49
+
50
+ ## insert link
51
+
52
+ ```````````````````````````````` example
53
+ ^^insert [me^^](/)
54
+ .
55
+ <p><ins>insert [me</ins>](/)</p>
56
+ ````````````````````````````````
57
+
58
+ ```````````````````````````````` example
59
+ ^^[hello](/)^^
60
+ .
61
+ <p><ins><a href="/">hello</a></ins></p>
62
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/mark.txt ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Mark
2
+
3
+ ```````````````````````````````` example
4
+ ==mark me
5
+ .
6
+ <p>==mark me</p>
7
+ ````````````````````````````````
8
+
9
+ ## normal mark
10
+
11
+ ```````````````````````````````` example
12
+ ==mark me==
13
+ .
14
+ <p><mark>mark me</mark></p>
15
+ ````````````````````````````````
16
+
17
+ ```````````````````````````````` example
18
+ foo ==mark me==
19
+ .
20
+ <p>foo <mark>mark me</mark></p>
21
+ ````````````````````````````````
22
+
23
+ ```````````````````````````````` example
24
+ ==mark me==foo
25
+ .
26
+ <p><mark>mark me</mark>foo</p>
27
+ ````````````````````````````````
28
+
29
+ ```````````````````````````````` example
30
+ ==mark me===
31
+ .
32
+ <p>==mark me===</p>
33
+ ````````````````````````````````
34
+
35
+ ## escape mark
36
+
37
+ ```````````````````````````````` example
38
+ ==mark me\===
39
+ .
40
+ <p><mark>mark me=</mark></p>
41
+ ````````````````````````````````
42
+
43
+ ```````````````````````````````` example
44
+ ==mark \=\= me==
45
+ .
46
+ <p><mark>mark == me</mark></p>
47
+ ````````````````````````````````
48
+
49
+ ## mark link
50
+
51
+ ```````````````````````````````` example
52
+ ==mark [me==](/)
53
+ .
54
+ <p><mark>mark [me</mark>](/)</p>
55
+ ````````````````````````````````
56
+
57
+ ```````````````````````````````` example
58
+ ==[hello](/)==
59
+ .
60
+ <p><mark><a href="/">hello</a></mark></p>
61
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/math.txt ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Math
2
+
3
+ ## Block Math
4
+
5
+ ```````````````````````````````` example
6
+ $$
7
+ .
8
+ <p>$$</p>
9
+ ````````````````````````````````
10
+
11
+
12
+ ```````````````````````````````` example
13
+ $$
14
+ \operatorname{ker} f=\{g\in G:f(g)=e_{H}\}{\mbox{.}}
15
+ $$
16
+ .
17
+ <div class="math">$$
18
+ \operatorname{ker} f=\{g\in G:f(g)=e_{H}\}{\mbox{.}}
19
+ $$</div>
20
+ ````````````````````````````````
21
+
22
+ ```````````````````````````````` example
23
+ $$
24
+ foo
25
+ $$
26
+ bar
27
+ .
28
+ <div class="math">$$
29
+ foo
30
+ $$</div>
31
+ <p>bar</p>
32
+ ````````````````````````````````
33
+
34
+ ```````````````````````````````` example
35
+ $$
36
+ foo
37
+ bar
38
+ $$
39
+ .
40
+ <div class="math">$$
41
+ foo
42
+ bar
43
+ $$</div>
44
+ ````````````````````````````````
45
+
46
+
47
+ ## Inline Math
48
+
49
+ ```````````````````````````````` example
50
+ The homomorphism $f$ is injective if and only if its kernel is only the
51
+ singleton set $e_G$, because otherwise $\exists a,b\in G$
52
+ with $a\neq b$ such that $f(a)=f(b)$.
53
+ .
54
+ <p>The homomorphism <span class="math">\(f\)</span> is injective if and only if its kernel is only the
55
+ singleton set <span class="math">\(e_G\)</span>, because otherwise <span class="math">\(\exists a,b\in G\)</span>
56
+ with <span class="math">\(a\neq b\)</span> such that <span class="math">\(f(a)=f(b)\)</span>.</p>
57
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/renderer_markdown.txt ADDED
@@ -0,0 +1,299 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MarkdownRenderer
2
+
3
+
4
+ ## inline
5
+
6
+ ```````````````````````````````` example
7
+ this is _em_, **strong**, and `code`
8
+ .
9
+ this is *em*, **strong**, and `code`
10
+ ````````````````````````````````
11
+
12
+ ## links
13
+
14
+ ```````````````````````````````` example
15
+ [link], [link][], [text][link], [link](/foo), [link](/foo "title")
16
+
17
+ [link]: /url
18
+ .
19
+ [link][link], [link][link], [text][link], [link](/foo), [link](/foo "title")
20
+
21
+ [link]: /url
22
+ ````````````````````````````````
23
+
24
+ ```````````````````````````````` example
25
+ [link], [link](https://foo(bar "title")
26
+
27
+ [link]: /url "title"
28
+ .
29
+ [link][link], [link](<https://foo(bar> "title")
30
+
31
+ [link]: /url "title"
32
+ ````````````````````````````````
33
+
34
+ ```````````````````````````````` example
35
+ [https://lepture.com](https://lepture.com)
36
+
37
+ <https://lepture.com>
38
+
39
+ <demo@example.com> [demo@example.com](mailto:demo@example.com)
40
+ .
41
+ <https://lepture.com>
42
+
43
+ <https://lepture.com>
44
+
45
+ <demo@example.com> <demo@example.com>
46
+ ````````````````````````````````
47
+
48
+ ## images
49
+
50
+ ```````````````````````````````` example
51
+ [link]: /url
52
+
53
+ ![link], ![link][], ![alt][link]
54
+ .
55
+ ![link][link], ![link][link], ![alt][link]
56
+
57
+ [link]: /url
58
+ ````````````````````````````````
59
+
60
+ ## linebreak
61
+
62
+ ```````````````````````````````` example
63
+ foo\
64
+ bar
65
+ .
66
+ foo
67
+ bar
68
+ ````````````````````````````````
69
+
70
+ ## html
71
+
72
+ ```````````````````````````````` example
73
+ inline html <a>text</a>
74
+
75
+ and block html
76
+
77
+ <div>hi</div>
78
+ .
79
+ inline html <a>text</a>
80
+
81
+ and block html
82
+
83
+ <div>hi</div>
84
+ ````````````````````````````````
85
+
86
+ ## heading
87
+
88
+ ```````````````````````````````` example
89
+ # h1
90
+ ## h2
91
+ ### h3
92
+ #### h4
93
+ ##### h5
94
+ ###### h6
95
+
96
+ h1
97
+ ==
98
+ .
99
+ # h1
100
+
101
+ ## h2
102
+
103
+ ### h3
104
+
105
+ #### h4
106
+
107
+ ##### h5
108
+
109
+ ###### h6
110
+
111
+ # h1
112
+ ````````````````````````````````
113
+
114
+ ## thematic break
115
+
116
+ ```````````````````````````````` example
117
+ hi
118
+ ***
119
+ .
120
+ hi
121
+
122
+ ***
123
+ ````````````````````````````````
124
+
125
+ ## code
126
+
127
+ ```````````````````````````````` example
128
+ start
129
+
130
+ def foo():
131
+ pass
132
+
133
+ end
134
+ .
135
+ start
136
+
137
+ ```
138
+ def foo():
139
+ pass
140
+ ```
141
+
142
+ end
143
+ ````````````````````````````````
144
+
145
+ ```````````````````````````````` example
146
+ start
147
+ ```py
148
+ def foo():
149
+ pass
150
+ ```
151
+ end
152
+ .
153
+ start
154
+
155
+ ```py
156
+ def foo():
157
+ pass
158
+ ```
159
+
160
+ end
161
+ ````````````````````````````````
162
+
163
+ ```````````````````````````````` example
164
+ indent code
165
+
166
+ markdown
167
+ ```
168
+ fenced
169
+ .
170
+ indent code
171
+
172
+ ~~~
173
+ markdown
174
+ ```
175
+ fenced
176
+ ~~~
177
+ ````````````````````````````````
178
+
179
+ ```````````````````````````````` example
180
+ indent code
181
+
182
+ markdown
183
+ ~~~
184
+ fenced
185
+ .
186
+ indent code
187
+
188
+ ```
189
+ markdown
190
+ ~~~
191
+ fenced
192
+ ```
193
+ ````````````````````````````````
194
+
195
+ ```````````````````````````````` example
196
+ indent code
197
+
198
+ markdown
199
+ ```
200
+ fenced
201
+ ~~~
202
+ .
203
+ indent code
204
+
205
+ ````
206
+ markdown
207
+ ```
208
+ fenced
209
+ ~~~
210
+ ````
211
+ ````````````````````````````````
212
+
213
+
214
+ ## quote
215
+
216
+ ```````````````````````````````` example
217
+ > quote
218
+ .
219
+ > quote
220
+ ````````````````````````````````
221
+
222
+ ```````````````````````````````` example
223
+ hello
224
+ > quote
225
+ .
226
+ hello
227
+
228
+ > quote
229
+ ````````````````````````````````
230
+
231
+ > quote
232
+
233
+ > quote
234
+ >
235
+ > continuation
236
+ .
237
+ > quote
238
+
239
+ > quote
240
+ >
241
+ > continuation
242
+
243
+ ## list
244
+
245
+ ```````````````````````````````` example
246
+ - list
247
+ + list
248
+ .
249
+ - list
250
+
251
+ + list
252
+ ````````````````````````````````
253
+
254
+ ```````````````````````````````` example
255
+ - item 1
256
+ item 2
257
+ .
258
+ - item 1
259
+ item 2
260
+ ````````````````````````````````
261
+
262
+ ```````````````````````````````` example
263
+ - item 1
264
+
265
+ item 2
266
+ - item 3
267
+ .
268
+ - item 1
269
+
270
+ item 2
271
+
272
+ - item 3
273
+ ````````````````````````````````
274
+
275
+ ```````````````````````````````` example
276
+ - item 1
277
+ 1. item 2
278
+ .
279
+ - item 1
280
+ 1. item 2
281
+ ````````````````````````````````
282
+
283
+ ```````````````````````````````` example
284
+ - item 1
285
+
286
+ 2. item 2
287
+ .
288
+ - item 1
289
+
290
+ 2. item 2
291
+ ````````````````````````````````
292
+
293
+ ```````````````````````````````` example
294
+ - list
295
+ -
296
+ .
297
+ - list
298
+ -
299
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/renderer_rst.txt ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # RSTRenderer
2
+
3
+ ## inline
4
+
5
+ ```````````````````````````````` example
6
+ this is _em_, **strong**, and `code`
7
+ .
8
+ this is *em*, **strong**, and ``code``
9
+ ````````````````````````````````
10
+
11
+ ```````````````````````````````` example
12
+ | escape |
13
+ .
14
+ \| escape \|
15
+ ````````````````````````````````
16
+
17
+ ## links
18
+
19
+ ```````````````````````````````` example
20
+ this is [link][] and [link](/foo)
21
+
22
+ [link]: /url
23
+ .
24
+ this is `link </url>`__ and `link </foo>`__
25
+ ````````````````````````````````
26
+
27
+ ## images
28
+
29
+ ```````````````````````````````` example
30
+ this is inline ![alt _text_](/foo)
31
+ .
32
+ this is inline |img-0|
33
+
34
+ .. |img-0| image:: /foo
35
+ :alt: alt *text*
36
+ ````````````````````````````````
37
+
38
+ ```````````````````````````````` example
39
+ this is figure
40
+
41
+ ![alt _text_](/foo)
42
+ .
43
+ this is figure
44
+
45
+ .. figure:: /foo
46
+
47
+ alt *text*
48
+ ````````````````````````````````
49
+
50
+ ```````````````````````````````` example
51
+ this is figure
52
+
53
+ ![alt _text_](/foo "title")
54
+ .
55
+ this is figure
56
+
57
+ .. figure:: /foo
58
+ :alt: title
59
+
60
+ alt *text*
61
+ ````````````````````````````````
62
+
63
+
64
+ ## html
65
+
66
+ ```````````````````````````````` example
67
+ ignore inline html <a>text</a>
68
+
69
+ but show block html
70
+
71
+ <div>hi</div>
72
+ .
73
+ ignore inline html text
74
+
75
+ but show block html
76
+
77
+ .. raw:: html
78
+
79
+ <div>hi</div>
80
+ ````````````````````````````````
81
+
82
+ ## line break
83
+
84
+ ```````````````````````````````` example
85
+ hello
86
+ world
87
+ .
88
+ | hello
89
+ | world
90
+ ````````````````````````````````
91
+
92
+ ## heading
93
+
94
+ ```````````````````````````````` example
95
+ # h1
96
+ ## h2
97
+ ### h3
98
+ #### h4
99
+ ##### h5
100
+ ###### h6
101
+ .
102
+ h1
103
+ ==
104
+
105
+ h2
106
+ --
107
+
108
+ h3
109
+ ~~
110
+
111
+ h4
112
+ ^^
113
+
114
+ h5
115
+ ""
116
+
117
+ h6
118
+ ''
119
+ ````````````````````````````````
120
+
121
+ ## thematic break
122
+
123
+ ```````````````````````````````` example
124
+ hi
125
+ ***
126
+ .
127
+ hi
128
+
129
+ --------------
130
+ ````````````````````````````````
131
+
132
+ ## code
133
+
134
+ ```````````````````````````````` example
135
+ start
136
+
137
+ def foo():
138
+ pass
139
+
140
+ end
141
+ .
142
+ start
143
+
144
+ ::
145
+
146
+ def foo():
147
+ pass
148
+
149
+ end
150
+ ````````````````````````````````
151
+
152
+ ```````````````````````````````` example
153
+ start
154
+
155
+ ```py
156
+ def foo():
157
+ pass
158
+ ```
159
+
160
+ end
161
+ .
162
+ start
163
+
164
+ .. code:: py
165
+
166
+ def foo():
167
+ pass
168
+
169
+ end
170
+ ````````````````````````````````
171
+
172
+
173
+ ## quote
174
+
175
+ ```````````````````````````````` example
176
+ > quote
177
+ .
178
+ quote
179
+ ````````````````````````````````
180
+
181
+ ```````````````````````````````` example
182
+ hello
183
+
184
+ > quote
185
+ .
186
+ hello
187
+
188
+ quote
189
+ ````````````````````````````````
190
+
191
+ ```````````````````````````````` example
192
+ > hello
193
+
194
+ > quote
195
+ .
196
+ hello
197
+
198
+ ..
199
+
200
+ quote
201
+ ````````````````````````````````
202
+
203
+ ## list
204
+
205
+ ```````````````````````````````` example
206
+ - list
207
+ + list
208
+ .
209
+ - list
210
+
211
+ + list
212
+ ````````````````````````````````
213
+
214
+ ```````````````````````````````` example
215
+ - item 1
216
+ item 2
217
+ .
218
+ - item 1 item 2
219
+ ````````````````````````````````
220
+
221
+ ```````````````````````````````` example
222
+ - item 1
223
+
224
+ item 2
225
+ - item 3
226
+ .
227
+ - item 1
228
+
229
+ item 2
230
+
231
+ - item 3
232
+ ````````````````````````````````
233
+
234
+ ```````````````````````````````` example
235
+ - item 1
236
+ 1. item 2
237
+ .
238
+ - item 1
239
+ 1. item 2
240
+ ````````````````````````````````
241
+
242
+ ```````````````````````````````` example
243
+ - item 1
244
+
245
+ 1. item 2
246
+ .
247
+ - item 1
248
+
249
+ 1. item 2
250
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/rst_admonition.txt ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Admonition
2
+
3
+ ```````````````````````````````` example
4
+ .. hello:: Warning
5
+
6
+ message
7
+ .
8
+ <div class="error"><pre>.. hello:: Warning
9
+
10
+ message
11
+ </pre></div>
12
+ ````````````````````````````````
13
+
14
+ ```````````````````````````````` example
15
+ .. note:: Warning
16
+
17
+ message
18
+ .
19
+ <section class="admonition note">
20
+ <p class="admonition-title">Warning</p>
21
+ <p>message</p>
22
+ </section>
23
+ ````````````````````````````````
24
+
25
+ Test with code block.
26
+
27
+ ```````````````````````````````` example
28
+ .. note::
29
+
30
+ print()
31
+ .
32
+ <section class="admonition note">
33
+ <p class="admonition-title">Note</p>
34
+ <pre><code>print()</code></pre>
35
+ </section>
36
+ ````````````````````````````````
37
+
38
+ Test with no message.
39
+
40
+ ```````````````````````````````` example
41
+ .. note:: Warning
42
+ .
43
+ <section class="admonition note">
44
+ <p class="admonition-title">Warning</p>
45
+ </section>
46
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/rst_toc.txt ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Table of Contents
2
+
3
+ ## No TOC
4
+
5
+ ```````````````````````````````` example
6
+ none
7
+ .
8
+ <p>none</p>
9
+ ````````````````````````````````
10
+
11
+ ```````````````````````````````` example
12
+ # H1
13
+ ## H2
14
+ .
15
+ <h1>H1</h1>
16
+ <h2>H2</h2>
17
+ ````````````````````````````````
18
+
19
+
20
+ ## Simple TOC
21
+
22
+ ```````````````````````````````` example
23
+ .. toc::
24
+
25
+ # H1
26
+ ## H2
27
+ .
28
+ <details class="toc" open>
29
+ <summary>Table of Contents</summary>
30
+ <ul>
31
+ <li><a href="#toc_1">H1</a>
32
+ <ul>
33
+ <li><a href="#toc_2">H2</a></li>
34
+ </ul>
35
+ </li>
36
+ </ul>
37
+ </details>
38
+ <h1 id="toc_1">H1</h1>
39
+ <h2 id="toc_2">H2</h2>
40
+ ````````````````````````````````
41
+
42
+ ## Invalid Option
43
+
44
+ ```````````````````````````````` example
45
+ # H1
46
+ ## H2
47
+
48
+ .. toc::
49
+ :max-level: s
50
+ .
51
+ <h1>H1</h1>
52
+ <h2>H2</h2>
53
+ <div class="error"><pre>"max-level" option MUST be integer</pre></div>
54
+ ````````````````````````````````
55
+
56
+ ```````````````````````````````` example
57
+ # H1
58
+ ## H2
59
+ .. toc::
60
+ :max-level: 9
61
+ .
62
+ <h1>H1</h1>
63
+ <h2>H2</h2>
64
+ <div class="error"><pre>"max-level" option MUST be <= 3</pre></div>
65
+ ````````````````````````````````
66
+
67
+ ```````````````````````````````` example
68
+ # H1
69
+ ## H2
70
+ .. toc::
71
+ :min-level: 2
72
+ :max-level: 1
73
+ .
74
+ <h1>H1</h1>
75
+ <h2>H2</h2>
76
+ <div class="error"><pre>"min-level" option MUST be less than "max-level" option</pre></div>
77
+ ````````````````````````````````
78
+
79
+
80
+ ## Complex
81
+
82
+ ```````````````````````````````` example
83
+ # H1
84
+ ## H2
85
+ ### H3
86
+ #### H4
87
+ # H1 B
88
+ # H1 `C`
89
+
90
+ .. toc:: Contents
91
+ :max-level: 3
92
+ .
93
+ <h1 id="toc_1">H1</h1>
94
+ <h2 id="toc_2">H2</h2>
95
+ <h3 id="toc_3">H3</h3>
96
+ <h4 id="toc_4">H4</h4>
97
+ <h1 id="toc_5">H1 B</h1>
98
+ <h1 id="toc_6">H1 <code>C</code></h1>
99
+ <details class="toc" open>
100
+ <summary>Contents</summary>
101
+ <ul>
102
+ <li><a href="#toc_1">H1</a>
103
+ <ul>
104
+ <li><a href="#toc_2">H2</a>
105
+ <ul>
106
+ <li><a href="#toc_3">H3</a></li>
107
+ </ul>
108
+ </li>
109
+ </ul>
110
+ </li>
111
+ <li><a href="#toc_5">H1 B</a></li>
112
+ <li><a href="#toc_6">H1 C</a></li>
113
+ </ul>
114
+ </details>
115
+ ````````````````````````````````
116
+
117
+ ## Insane
118
+
119
+ ```````````````````````````````` example
120
+ # H1
121
+ ### H3
122
+ ## H2
123
+ #### H4
124
+ ### H3 B
125
+ # H1 B
126
+ .. toc::
127
+ .
128
+ <h1 id="toc_1">H1</h1>
129
+ <h3 id="toc_2">H3</h3>
130
+ <h2 id="toc_3">H2</h2>
131
+ <h4 id="toc_4">H4</h4>
132
+ <h3 id="toc_5">H3 B</h3>
133
+ <h1 id="toc_6">H1 B</h1>
134
+ <details class="toc" open>
135
+ <summary>Table of Contents</summary>
136
+ <ul>
137
+ <li><a href="#toc_1">H1</a>
138
+ <ul>
139
+ <li><a href="#toc_2">H3</a></li>
140
+ <li><a href="#toc_3">H2</a>
141
+ <ul>
142
+ <li><a href="#toc_5">H3 B</a></li>
143
+ </ul>
144
+ </li>
145
+ </ul>
146
+ </li>
147
+ <li><a href="#toc_6">H1 B</a></li>
148
+ </ul>
149
+ </details>
150
+ ````````````````````````````````
151
+
152
+ ```````````````````````````````` example
153
+ ### H3
154
+ ## H2
155
+ # H1
156
+ .. toc::
157
+ .
158
+ <h3 id="toc_1">H3</h3>
159
+ <h2 id="toc_2">H2</h2>
160
+ <h1 id="toc_3">H1</h1>
161
+ <details class="toc" open>
162
+ <summary>Table of Contents</summary>
163
+ <ul>
164
+ <li><a href="#toc_1">H3</a></li>
165
+ <li><a href="#toc_2">H2</a></li>
166
+ <li><a href="#toc_3">H1</a></li>
167
+ </ul>
168
+ </details>
169
+ ````````````````````````````````
170
+
171
+ ## Link in Heading
172
+
173
+
174
+ ```````````````````````````````` example
175
+ # [foo](/bar)
176
+ .. toc::
177
+ .
178
+ <h1 id="toc_1"><a href="/bar">foo</a></h1>
179
+ <details class="toc" open>
180
+ <summary>Table of Contents</summary>
181
+ <ul>
182
+ <li><a href="#toc_1">foo</a></li>
183
+ </ul>
184
+ </details>
185
+ ````````````````````````````````
186
+
187
+ ## HTML in Heading
188
+
189
+ ```````````````````````````````` example
190
+ # <em>H1</em>
191
+ .. toc::
192
+ .
193
+ <h1 id="toc_1"><em>H1</em></h1>
194
+ <details class="toc" open>
195
+ <summary>Table of Contents</summary>
196
+ <ul>
197
+ <li><a href="#toc_1">H1</a></li>
198
+ </ul>
199
+ </details>
200
+ ````````````````````````````````
201
+
202
+ ## Collapse TOC
203
+
204
+ ```````````````````````````````` example
205
+ .. toc::
206
+ :collapse:
207
+
208
+ # H1
209
+ ## H2
210
+ .
211
+ <details class="toc">
212
+ <summary>Table of Contents</summary>
213
+ <ul>
214
+ <li><a href="#toc_1">H1</a>
215
+ <ul>
216
+ <li><a href="#toc_2">H2</a></li>
217
+ </ul>
218
+ </li>
219
+ </ul>
220
+ </details>
221
+ <h1 id="toc_1">H1</h1>
222
+ <h2 id="toc_2">H2</h2>
223
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/ruby.txt ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Ruby
2
+
3
+
4
+ ## ruby without link
5
+
6
+ ```````````````````````````````` example
7
+ [漢字(ㄏㄢˋㄗˋ)]
8
+ .
9
+ <p><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby></p>
10
+ ````````````````````````````````
11
+
12
+ ```````````````````````````````` example
13
+ [漢(ㄏㄢˋ)字(ㄗˋ)]
14
+ .
15
+ <p><ruby><rb>漢</rb><rt>ㄏㄢˋ</rt></ruby><ruby><rb>字</rb><rt>ㄗˋ</rt></ruby></p>
16
+ ````````````````````````````````
17
+
18
+ ```````````````````````````````` example
19
+ [漢字(ㄏㄢˋㄗˋ)][]
20
+ .
21
+ <p><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby>[]</p>
22
+ ````````````````````````````````
23
+
24
+ ```````````````````````````````` example
25
+ [漢字(ㄏㄢˋㄗˋ)][link]
26
+ .
27
+ <p><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby>[link]</p>
28
+ ````````````````````````````````
29
+
30
+ ## ruby with link
31
+
32
+ ```````````````````````````````` example
33
+ [link]: /url
34
+
35
+ [漢字(ㄏㄢˋㄗˋ)][link]
36
+ .
37
+ <p><a href="/url"><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby></a></p>
38
+ ````````````````````````````````
39
+
40
+ ```````````````````````````````` example
41
+ [漢字(ㄏㄢˋㄗˋ)]()
42
+ .
43
+ <p><a href=""><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby></a></p>
44
+ ````````````````````````````````
45
+
46
+ ```````````````````````````````` example
47
+ [漢字(ㄏㄢˋㄗˋ)](/url)
48
+ .
49
+ <p><a href="/url"><ruby><rb>漢字</rb><rt>ㄏㄢˋㄗˋ</rt></ruby></a></p>
50
+ ````````````````````````````````
51
+
52
+ ## ruby splits
53
+
54
+ ```````````````````````````````` example
55
+ [漢(かん)][字(じ)]
56
+ .
57
+ <p><ruby><rb>漢</rb><rt>かん</rt></ruby><ruby><rb>字</rb><rt>じ</rt></ruby></p>
58
+ ````````````````````````````````
59
+
60
+ ```````````````````````````````` example
61
+ [[漢(かん)][字(じ)]](https://jisho.org/search/漢字)
62
+ .
63
+ <p><a href="https://jisho.org/search/%E6%BC%A2%E5%AD%97"><ruby><rb>漢</rb><rt>かん</rt></ruby><ruby><rb>字</rb><rt>じ</rt></ruby></a></p>
64
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/spoiler.txt ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Spoiler
2
+
3
+ ## Block spoiler
4
+
5
+ ```````````````````````````````` example
6
+ >! hi
7
+ .
8
+ <div class="spoiler">
9
+ <p>hi</p>
10
+ </div>
11
+ ````````````````````````````````
12
+
13
+
14
+ ```````````````````````````````` example
15
+ >! not
16
+ > spoiler
17
+ .
18
+ <blockquote>
19
+ <p>! not
20
+ spoiler</p>
21
+ </blockquote>
22
+ ````````````````````````````````
23
+
24
+ ```````````````````````````````` example
25
+ >! multiple
26
+ >! lines
27
+ .
28
+ <div class="spoiler">
29
+ <p>multiple
30
+ lines</p>
31
+ </div>
32
+ ````````````````````````````````
33
+
34
+ ```````````````````````````````` example
35
+ >! foo
36
+ >!
37
+ >! bar
38
+ .
39
+ <div class="spoiler">
40
+ <p>foo</p>
41
+ <p>bar</p>
42
+ </div>
43
+ ````````````````````````````````
44
+
45
+ ```````````````````````````````` example
46
+ >! foo
47
+ >
48
+ >! bar
49
+ .
50
+ <blockquote>
51
+ <p>! foo</p>
52
+ <p>! bar</p>
53
+ </blockquote>
54
+ ````````````````````````````````
55
+
56
+ ## Inline spoiler
57
+
58
+ ```````````````````````````````` example
59
+ hi >! hide !<
60
+ .
61
+ <p>hi <span class="spoiler">hide</span></p>
62
+ ````````````````````````````````
63
+
64
+ ```````````````````````````````` example
65
+ hi >!hide !<
66
+ .
67
+ <p>hi <span class="spoiler">hide</span></p>
68
+ ````````````````````````````````
69
+
70
+ ```````````````````````````````` example
71
+ hi >!hide!<
72
+ .
73
+ <p>hi <span class="spoiler">hide</span></p>
74
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/strikethrough.txt ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Strikethrough
2
+
3
+
4
+ ## strikethrough
5
+
6
+ ```````````````````````````````` example
7
+ ~~delete me
8
+ .
9
+ <p>~~delete me</p>
10
+ ````````````````````````````````
11
+
12
+ ```````````````````````````````` example
13
+ ~~delete me~~
14
+ .
15
+ <p><del>delete me</del></p>
16
+ ````````````````````````````````
17
+
18
+ ```````````````````````````````` example
19
+ ~~delete me~~~
20
+ .
21
+ <p>~~delete me~~~</p>
22
+ ````````````````````````````````
23
+
24
+ ```````````````````````````````` example
25
+ ~~delete me\~~~
26
+ .
27
+ <p><del>delete me~</del></p>
28
+ ````````````````````````````````
29
+
30
+ ```````````````````````````````` example
31
+ ~~delete \~\~ me~~
32
+ .
33
+ <p><del>delete ~~ me</del></p>
34
+ ````````````````````````````````
35
+
36
+ ```````````````````````````````` example
37
+ ~~delete [me~~](/)
38
+ .
39
+ <p><del>delete [me</del>](/)</p>
40
+ ````````````````````````````````
41
+
42
+ ```````````````````````````````` example
43
+ ~~[hello](/)~~
44
+ .
45
+ <p><del><a href="/">hello</a></del></p>
46
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/subscript.txt ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Subscript
2
+
3
+
4
+ ```````````````````````````````` example
5
+ CH~3~CH~2~OH
6
+ .
7
+ <p>CH<sub>3</sub>CH<sub>2</sub>OH</p>
8
+ ````````````````````````````````
9
+
10
+ ```````````````````````````````` example
11
+ text~a\ subscript~
12
+ .
13
+ <p>text<sub>a subscript</sub></p>
14
+ ````````````````````````````````
15
+
16
+ ```````````````````````````````` example
17
+ text~a subscript~
18
+ .
19
+ <p>text~a subscript~</p>
20
+ ````````````````````````````````
21
+
22
+ ```````````````````````````````` example
23
+ text~a\~subscript~
24
+ .
25
+ <p>text<sub>a~subscript</sub></p>
26
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/superscript.txt ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Superscript
2
+
3
+
4
+ ```````````````````````````````` example
5
+ CH^3^CH^2^OH
6
+ .
7
+ <p>CH<sup>3</sup>CH<sup>2</sup>OH</p>
8
+ ````````````````````````````````
9
+
10
+ ```````````````````````````````` example
11
+ text^a\ supscript^
12
+ .
13
+ <p>text<sup>a supscript</sup></p>
14
+ ````````````````````````````````
15
+
16
+ ```````````````````````````````` example
17
+ text^a supscript^
18
+ .
19
+ <p>text^a supscript^</p>
20
+ ````````````````````````````````
21
+
22
+ ```````````````````````````````` example
23
+ text^a\^supscript^
24
+ .
25
+ <p>text<sup>a^supscript</sup></p>
26
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/table.txt ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Table in Markdown
2
+
3
+ https://michelf.ca/projects/php-markdown/extra/#table
4
+
5
+
6
+ ## nptable
7
+
8
+
9
+ ```````````````````````````````` example
10
+ First Header | Second Header
11
+ ------------- | -------------
12
+ Content Cell | Content Cell
13
+ Content Cell | Content Cell
14
+ .
15
+ <table>
16
+ <thead>
17
+ <tr>
18
+ <th>First Header</th>
19
+ <th>Second Header</th>
20
+ </tr>
21
+ </thead>
22
+ <tbody>
23
+ <tr>
24
+ <td>Content Cell</td>
25
+ <td>Content Cell</td>
26
+ </tr>
27
+ <tr>
28
+ <td>Content Cell</td>
29
+ <td>Content Cell</td>
30
+ </tr>
31
+ </tbody>
32
+ </table>
33
+ ````````````````````````````````
34
+
35
+
36
+ ## table
37
+
38
+ ```````````````````````````````` example
39
+ | First Header | Second Header |
40
+ | ------------- | ------------- |
41
+ | Content Cell | |
42
+ | Content Cell | Content Cell |
43
+ .
44
+ <table>
45
+ <thead>
46
+ <tr>
47
+ <th>First Header</th>
48
+ <th>Second Header</th>
49
+ </tr>
50
+ </thead>
51
+ <tbody>
52
+ <tr>
53
+ <td>Content Cell</td>
54
+ <td></td>
55
+ </tr>
56
+ <tr>
57
+ <td>Content Cell</td>
58
+ <td>Content Cell</td>
59
+ </tr>
60
+ </tbody>
61
+ </table>
62
+ ````````````````````````````````
63
+
64
+
65
+ ```````````````````````````````` example
66
+ | Command | Description |
67
+ | --- | --- |
68
+ | git status | List all new or modified files |
69
+ | git diff | Show file differences that haven't been staged |
70
+ .
71
+ <table>
72
+ <thead>
73
+ <tr>
74
+ <th>Command</th>
75
+ <th>Description</th>
76
+ </tr>
77
+ </thead>
78
+ <tbody>
79
+ <tr>
80
+ <td>git status</td>
81
+ <td>List all new or modified files</td>
82
+ </tr>
83
+ <tr>
84
+ <td>git diff</td>
85
+ <td>Show file differences that haven't been staged</td>
86
+ </tr>
87
+ </tbody>
88
+ </table>
89
+ ````````````````````````````````
90
+
91
+ ## align table
92
+
93
+ ```````````````````````````````` example
94
+ Left | Center | Right
95
+ :---- | :--------: | ------:
96
+ a | b | c
97
+ .
98
+ <table>
99
+ <thead>
100
+ <tr>
101
+ <th style="text-align:left">Left</th>
102
+ <th style="text-align:center">Center</th>
103
+ <th style="text-align:right">Right</th>
104
+ </tr>
105
+ </thead>
106
+ <tbody>
107
+ <tr>
108
+ <td style="text-align:left">a</td>
109
+ <td style="text-align:center">b</td>
110
+ <td style="text-align:right">c</td>
111
+ </tr>
112
+ </tbody>
113
+ </table>
114
+ ````````````````````````````````
115
+
116
+ ```````````````````````````````` example
117
+ | Left | Center | Right |
118
+ | :--- | :----: | ----: |
119
+ | a | b | c |
120
+ .
121
+ <table>
122
+ <thead>
123
+ <tr>
124
+ <th style="text-align:left">Left</th>
125
+ <th style="text-align:center">Center</th>
126
+ <th style="text-align:right">Right</th>
127
+ </tr>
128
+ </thead>
129
+ <tbody>
130
+ <tr>
131
+ <td style="text-align:left">a</td>
132
+ <td style="text-align:center">b</td>
133
+ <td style="text-align:right">c</td>
134
+ </tr>
135
+ </tbody>
136
+ </table>
137
+ ````````````````````````````````
138
+
139
+ ## Misc Table
140
+
141
+ ```````````````````````````````` example
142
+ | A | |
143
+ | - | |
144
+ | a | b |
145
+ .
146
+ <table>
147
+ <thead>
148
+ <tr>
149
+ <th>A</th>
150
+ <th></th>
151
+ </tr>
152
+ </thead>
153
+ <tbody>
154
+ <tr>
155
+ <td>a</td>
156
+ <td>b</td>
157
+ </tr>
158
+ </tbody>
159
+ </table>
160
+ ````````````````````````````````
161
+
162
+ ```````````````````````````````` example
163
+ A |
164
+ - |
165
+ a | b
166
+ .
167
+ <table>
168
+ <thead>
169
+ <tr>
170
+ <th>A</th>
171
+ <th></th>
172
+ </tr>
173
+ </thead>
174
+ <tbody>
175
+ <tr>
176
+ <td>a</td>
177
+ <td>b</td>
178
+ </tr>
179
+ </tbody>
180
+ </table>
181
+ ````````````````````````````````
182
+
183
+
184
+ ```````````````````````````````` example
185
+ | Foo | Bar |
186
+ |-----|-----|
187
+ | boo | baz |
188
+ | faz | |
189
+ .
190
+ <table>
191
+ <thead>
192
+ <tr>
193
+ <th>Foo</th>
194
+ <th>Bar</th>
195
+ </tr>
196
+ </thead>
197
+ <tbody>
198
+ <tr>
199
+ <td>boo</td>
200
+ <td>baz</td>
201
+ </tr>
202
+ <tr>
203
+ <td>faz</td>
204
+ <td></td>
205
+ </tr>
206
+ </tbody>
207
+ </table>
208
+ ````````````````````````````````
209
+
210
+ ## Mismatch length
211
+
212
+ ```````````````````````````````` example
213
+ | First Header |
214
+ | ------------- | ------------- |
215
+ | Content Cell | |
216
+ | Content Cell | Content Cell |
217
+ .
218
+ <p>| First Header |
219
+ | ------------- | ------------- |
220
+ | Content Cell | |
221
+ | Content Cell | Content Cell |</p>
222
+ ````````````````````````````````
223
+
224
+ ```````````````````````````````` example
225
+ | First Header | Second Header |
226
+ | ------------- | ------------- |
227
+ | Content Cell |
228
+ | Content Cell | Content Cell |
229
+ .
230
+ <p>| First Header | Second Header |
231
+ | ------------- | ------------- |
232
+ | Content Cell |
233
+ | Content Cell | Content Cell |</p>
234
+ ````````````````````````````````
235
+
236
+ ```````````````````````````````` example
237
+ A |
238
+ - | - |
239
+ a | b | c
240
+ .
241
+ <p>A |</p>
242
+ <ul>
243
+ <li>| - |
244
+ a | b | c</li>
245
+ </ul>
246
+ ````````````````````````````````
247
+
248
+ ```````````````````````````````` example
249
+ A | B | C
250
+ - | - | -
251
+ a | b
252
+ .
253
+ <p>A | B | C</p>
254
+ <ul>
255
+ <li>| - | -
256
+ a | b</li>
257
+ </ul>
258
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/task_lists.txt ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Task Lists
2
+
3
+ ```````````````````````````````` example
4
+ - [ ] foo
5
+ - [x] bar
6
+ - [X] baz
7
+ .
8
+ <ul>
9
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>foo</li>
10
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>bar</li>
11
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>baz</li>
12
+ </ul>
13
+ ````````````````````````````````
14
+
15
+ ```````````````````````````````` example
16
+ - foo
17
+ - [ ] bar
18
+ .
19
+ <ul>
20
+ <li>foo</li>
21
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>bar</li>
22
+ </ul>
23
+ ````````````````````````````````
24
+
25
+ ```````````````````````````````` example
26
+ - foo
27
+
28
+ - [ ] bar
29
+ - [x] baz
30
+
31
+ text
32
+ .
33
+ <ul>
34
+ <li><p>foo</p>
35
+ </li>
36
+ <li class="task-list-item"><p><input class="task-list-item-checkbox" type="checkbox" disabled/>bar</p>
37
+ </li>
38
+ <li class="task-list-item"><p><input class="task-list-item-checkbox" type="checkbox" disabled checked/>baz</p>
39
+ <p>text</p>
40
+ </li>
41
+ </ul>
42
+ ````````````````````````````````
43
+
44
+ ```````````````````````````````` example
45
+ 1. [ ] foo
46
+ 2. [x] bar
47
+ 3. [X] baz
48
+ .
49
+ <ol>
50
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>foo</li>
51
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>bar</li>
52
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>baz</li>
53
+ </ol>
54
+ ````````````````````````````````
55
+
56
+ ```````````````````````````````` example
57
+ - [ ] Task list item
58
+ over two lines
59
+ .
60
+ <ul>
61
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>Task list item
62
+ over two lines</li>
63
+ </ul>
64
+ ````````````````````````````````
65
+
66
+ ```````````````````````````````` example
67
+ - [ ] foo
68
+ - [x] bar
69
+ - [ ] baz
70
+ .
71
+ <ul>
72
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>foo<ul>
73
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>bar</li>
74
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>baz</li>
75
+ </ul>
76
+ </li>
77
+ </ul>
78
+ ````````````````````````````````
79
+
80
+ ```````````````````````````````` example
81
+ 1. [ ] foo
82
+ 1. [ ] bar
83
+ 2. [ ] baz
84
+ .
85
+ <ol>
86
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>foo<ol>
87
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>bar</li>
88
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>baz</li>
89
+ </ol>
90
+ </li>
91
+ </ol>
92
+ ````````````````````````````````
93
+
94
+ ```````````````````````````````` example
95
+ > - [ ] foo
96
+ > - [x] bar
97
+ > - [ ] baz
98
+ .
99
+ <blockquote>
100
+ <ul>
101
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>foo<ul>
102
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled checked/>bar</li>
103
+ <li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>baz</li>
104
+ </ul>
105
+ </li>
106
+ </ul>
107
+ </blockquote>
108
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/fixtures/url.txt ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # url plugin
2
+
3
+
4
+ ```````````````````````````````` example
5
+ visit https://lepture.com/
6
+ .
7
+ <p>visit <a href="https://lepture.com/">https://lepture.com/</a></p>
8
+ ````````````````````````````````
9
+
10
+
11
+ ```````````````````````````````` example
12
+ visit [https://lepture.com/](/foo)
13
+ .
14
+ <p>visit <a href="/foo">https://lepture.com/</a></p>
15
+ ````````````````````````````````
16
+
17
+
18
+ ```````````````````````````````` example
19
+ visit <a href="/foo">https://lepture.com/</a>
20
+ .
21
+ <p>visit <a href="/foo">https://lepture.com/</a></p>
22
+ ````````````````````````````````
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_commonmark.py ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import mistune
2
+ from tests import BaseTestCase, normalize_html
3
+
4
+
5
+ DIFF_CASES = {
6
+ 'setext_headings_093',
7
+ 'html_blocks_191', # mistune keeps \n
8
+
9
+ 'images_573', # image can not be in image
10
+
11
+ 'links_495',
12
+ 'links_517', # aggressive link group
13
+ 'links_518',
14
+ 'links_519',
15
+ 'links_531',
16
+ 'links_532',
17
+ }
18
+
19
+ IGNORE_CASES = {
20
+ # we don't support link title in (title)
21
+ 'links_496',
22
+ 'links_504',
23
+
24
+ # we don't support flanking delimiter run
25
+ 'emphasis_and_strong_emphasis_352',
26
+ 'emphasis_and_strong_emphasis_367',
27
+ 'emphasis_and_strong_emphasis_368',
28
+ 'emphasis_and_strong_emphasis_372',
29
+ 'emphasis_and_strong_emphasis_379',
30
+ 'emphasis_and_strong_emphasis_388',
31
+ 'emphasis_and_strong_emphasis_391',
32
+
33
+ 'emphasis_and_strong_emphasis_406',
34
+ 'emphasis_and_strong_emphasis_407',
35
+ 'emphasis_and_strong_emphasis_408',
36
+
37
+ 'emphasis_and_strong_emphasis_412',
38
+ 'emphasis_and_strong_emphasis_413',
39
+ 'emphasis_and_strong_emphasis_414',
40
+ 'emphasis_and_strong_emphasis_416',
41
+ 'emphasis_and_strong_emphasis_417',
42
+ 'emphasis_and_strong_emphasis_418',
43
+
44
+ 'emphasis_and_strong_emphasis_424',
45
+ 'emphasis_and_strong_emphasis_425',
46
+ 'emphasis_and_strong_emphasis_426',
47
+ 'emphasis_and_strong_emphasis_429',
48
+ 'emphasis_and_strong_emphasis_430',
49
+ 'emphasis_and_strong_emphasis_431',
50
+ 'emphasis_and_strong_emphasis_460',
51
+ 'emphasis_and_strong_emphasis_467',
52
+ 'emphasis_and_strong_emphasis_470',
53
+ 'emphasis_and_strong_emphasis_471',
54
+ 'emphasis_and_strong_emphasis_477',
55
+ 'emphasis_and_strong_emphasis_478',
56
+ }
57
+
58
+ for i in range(441, 447):
59
+ IGNORE_CASES.add('emphasis_and_strong_emphasis_' + str(i))
60
+ for i in range(453, 459):
61
+ IGNORE_CASES.add('emphasis_and_strong_emphasis_' + str(i))
62
+ for i in range(462, 466):
63
+ IGNORE_CASES.add('emphasis_and_strong_emphasis_' + str(i))
64
+
65
+
66
+ class TestCommonMark(BaseTestCase):
67
+ @classmethod
68
+ def ignore_case(cls, n):
69
+ return n in IGNORE_CASES or n in DIFF_CASES
70
+
71
+ def assert_case(self, n, text, html):
72
+ result = mistune.html(text)
73
+ self.assertEqual(normalize_html(result), normalize_html(html))
74
+
75
+
76
+ TestCommonMark.load_fixtures('commonmark.json')
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_directives.py ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from mistune import create_markdown
3
+ from mistune.directives import (
4
+ RSTDirective,
5
+ FencedDirective,
6
+ Admonition,
7
+ TableOfContents,
8
+ Include,
9
+ Image,
10
+ Figure,
11
+ )
12
+ from tests import BaseTestCase
13
+ from tests.fixtures import ROOT
14
+
15
+
16
+ def load_directive_test(filename, directive, cls):
17
+ class TestDirective(BaseTestCase):
18
+ @staticmethod
19
+ def parse(text):
20
+ md = create_markdown(
21
+ escape=False,
22
+ plugins=[cls([directive])],
23
+ )
24
+ html = md(text)
25
+ return html
26
+
27
+ TestDirective.load_fixtures(filename + '.txt')
28
+ globals()["TestDirective_" + filename] = TestDirective
29
+
30
+
31
+ load_directive_test('rst_admonition', Admonition(), RSTDirective)
32
+ load_directive_test('rst_toc', TableOfContents(), RSTDirective)
33
+ load_directive_test('fenced_admonition', Admonition(), FencedDirective)
34
+ load_directive_test('fenced_toc', TableOfContents(), FencedDirective)
35
+ load_directive_test('fenced_image', Image(), FencedDirective)
36
+ load_directive_test('fenced_figure', Figure(), FencedDirective)
37
+
38
+
39
+ class CustomizeTableOfContents(TableOfContents):
40
+ def generate_heading_id(self, token, i):
41
+ return 't-' + str(i + 1)
42
+
43
+
44
+ class TestCustomizeToc(BaseTestCase):
45
+ def test_rst_toc(self):
46
+ md = create_markdown(
47
+ escape=False,
48
+ plugins=[
49
+ RSTDirective([CustomizeTableOfContents()]),
50
+ ],
51
+ )
52
+ html = md('# h1\n\n.. toc::\n')
53
+ self.assertIn('<h1 id="t-1">h1</h1>', html)
54
+ self.assertIn('<a href="#t-1">h1</a>', html)
55
+
56
+ def test_fenced_toc(self):
57
+ md = create_markdown(
58
+ escape=False,
59
+ plugins=[
60
+ FencedDirective([CustomizeTableOfContents()]),
61
+ ],
62
+ )
63
+ html = md('# h1\n\n```{toc}\n```\n')
64
+ self.assertIn('<h1 id="t-1">h1</h1>', html)
65
+ self.assertIn('<a href="#t-1">h1</a>', html)
66
+
67
+ def test_colon_fenced_toc(self):
68
+ md = create_markdown(
69
+ escape=False,
70
+ plugins=[
71
+ FencedDirective([CustomizeTableOfContents()], ':'),
72
+ ],
73
+ )
74
+ html = md('# h1\n\n:::{toc}\n:::\n')
75
+ self.assertIn('<h1 id="t-1">h1</h1>', html)
76
+ self.assertIn('<a href="#t-1">h1</a>', html)
77
+
78
+
79
+ class TestDirectiveInclude(BaseTestCase):
80
+ md = create_markdown(escape=False, plugins=[RSTDirective([Include()])]) # type: ignore[list-item]
81
+
82
+ def test_html_include(self):
83
+ html = self.md.read(os.path.join(ROOT, 'include/text.md'))[0]
84
+ self.assertIn('Could not include self', html)
85
+ self.assertIn('Could not find file', html)
86
+ self.assertIn('<div>include html</div>', html)
87
+ self.assertIn('<blockquote>', html)
88
+ self.assertIn('# Table of Contents', html)
89
+
90
+ def test_include_missing_source(self):
91
+ s = '.. include:: foo.txt'
92
+ html = self.md(s)
93
+ self.assertIn('Missing source file', html)
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_hooks.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from mistune import create_markdown
3
+ from mistune.toc import add_toc_hook, render_toc_ul
4
+ from tests import BaseTestCase
5
+
6
+
7
+ class TestTocHook(BaseTestCase):
8
+ @staticmethod
9
+ def parse(text):
10
+ md = create_markdown(escape=False)
11
+ add_toc_hook(md)
12
+ html, state = md.parse(text)
13
+ result = html + render_toc_ul(state.env['toc_items'])
14
+ return result
15
+
16
+ def test_customize_heading_id_func(self):
17
+ def heading_id(token, i):
18
+ return 't-' + str(i + 1)
19
+
20
+ md = create_markdown(escape=False)
21
+ add_toc_hook(md, heading_id=heading_id)
22
+ html = md('# h1')
23
+ self.assertEqual(html, '<h1 id="t-1">h1</h1>\n')
24
+
25
+
26
+ TestTocHook.load_fixtures('hook_toc.txt')
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_misc.py ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import mistune
2
+ from unittest import TestCase
3
+
4
+
5
+ class TestMiscCases(TestCase):
6
+ def test_none(self):
7
+ self.assertEqual(mistune.html(None), '')
8
+
9
+ def test_before_parse_hooks(self):
10
+ def _add_name(md, state):
11
+ state.env['name'] = 'test'
12
+
13
+ md = mistune.create_markdown()
14
+ md.before_parse_hooks.append(_add_name)
15
+ state = md.block.state_cls()
16
+ md.parse('', state)
17
+ self.assertEqual(state.env['name'], 'test')
18
+
19
+ def test_hard_wrap(self):
20
+ md = mistune.create_markdown(escape=False, hard_wrap=True)
21
+ result = md('foo\nbar')
22
+ expected = '<p>foo<br />\nbar</p>'
23
+ self.assertEqual(result.strip(), expected)
24
+
25
+ md = mistune.create_markdown(
26
+ escape=False, hard_wrap=True, plugins=['speedup'])
27
+ result = md('foo\nbar')
28
+ self.assertEqual(result.strip(), expected)
29
+
30
+ def test_escape_html(self):
31
+ md = mistune.create_markdown(escape=True)
32
+ result = md('<div>1</div>')
33
+ expected = '<p>&lt;div&gt;1&lt;/div&gt;</p>'
34
+ self.assertEqual(result.strip(), expected)
35
+
36
+ result = md('<em>1</em>')
37
+ expected = '<p>&lt;em&gt;1&lt;/em&gt;</p>'
38
+ self.assertEqual(result.strip(), expected)
39
+
40
+ def test_harmful_links(self):
41
+ result = mistune.html('[h](javAscript:alert)')
42
+ expected = '<p><a href="#harmful-link">h</a></p>'
43
+ self.assertEqual(result.strip(), expected)
44
+
45
+ def test_ref_link(self):
46
+ result = mistune.html('[link][h]\n\n[h]: /foo')
47
+ expected = '<p><a href="/foo">link</a></p>'
48
+ self.assertEqual(result.strip(), expected)
49
+
50
+ def test_allow_harmful_protocols(self):
51
+ renderer = mistune.HTMLRenderer(allow_harmful_protocols=True)
52
+ md = mistune.Markdown(renderer)
53
+ result = md('[h](javascript:alert)')
54
+ expected = '<p><a href="javascript:alert">h</a></p>'
55
+ self.assertEqual(result.strip(), expected)
56
+
57
+ def test_allow_data_protocols(self):
58
+ renderer = mistune.HTMLRenderer(allow_harmful_protocols=['data:'])
59
+ md = mistune.Markdown(renderer)
60
+ result = md('[h](data:alert)')
61
+ expected = '<p><a href="data:alert">h</a></p>'
62
+ self.assertEqual(result.strip(), expected)
63
+
64
+ def test_use_plugin(self):
65
+ from mistune.plugins.url import url
66
+ md = mistune.Markdown(mistune.HTMLRenderer())
67
+ md.use(url)
68
+
69
+ def test_markdown_func(self):
70
+ result = mistune.markdown('**b**')
71
+ expected = '<p><strong>b</strong></p>\n'
72
+ self.assertEqual(result, expected)
73
+
74
+ # trigger to use cached parser
75
+ result = mistune.markdown('**b**')
76
+ self.assertEqual(result, expected)
77
+
78
+ def test_ast_output(self):
79
+ md = mistune.create_markdown(escape=False, renderer=None)
80
+ text = '# h1\n\nfoo **bar**\n\n`&<>"`'
81
+ result = md(text)
82
+ expected = [
83
+ {
84
+ 'type': 'heading',
85
+ 'children': [{'type': 'text', 'raw': 'h1'}],
86
+ 'attrs': {'level': 1},
87
+ 'style': 'atx',
88
+ },
89
+ {'type': 'blank_line'},
90
+ {
91
+ 'type': 'paragraph',
92
+ 'children': [
93
+ {'type': 'text', 'raw': 'foo '},
94
+ {'type': 'strong', 'children': [{'type': 'text', 'raw': 'bar'}]}
95
+ ]
96
+ },
97
+ {'type': 'blank_line'},
98
+ {
99
+ 'type': 'paragraph',
100
+ 'children': [
101
+ {'type': 'codespan', 'raw': '&<>"'},
102
+ ]
103
+ },
104
+ ]
105
+ self.assertEqual(result, expected)
106
+
107
+ def test_ast_url(self):
108
+ md = mistune.create_markdown(escape=False, renderer=None)
109
+ label = 'hi &<>"'
110
+ url = 'https://example.com/foo?a=1&b=2'
111
+ text = '[{}]({})'.format(label, url)
112
+ result = md(text)
113
+ expected = [
114
+ {
115
+ 'type': 'paragraph',
116
+ 'children': [
117
+ {
118
+ 'type': 'link',
119
+ 'children': [{'type': 'text', 'raw': label}],
120
+ 'attrs': {'url': url},
121
+ },
122
+ ],
123
+ },
124
+ ]
125
+ self.assertEqual(result, expected)
126
+
127
+ def test_emsp(self):
128
+ md = mistune.create_markdown(escape=False, hard_wrap=True)
129
+ result = md('\u2003\u2003foo\nbar\n\n\u2003\u2003foobar')
130
+ expected = '<p>\u2003\u2003foo<br />\nbar</p>\n<p>\u2003\u2003foobar</p>'
131
+ self.assertEqual(result.strip(), expected)
132
+
133
+ def test_html_tag_text_following_list(self):
134
+ md = mistune.create_markdown(escape=False, hard_wrap=True)
135
+ result = md('foo\n- bar\n\ntable')
136
+ expected = '<p>foo</p>\n<ul>\n<li>bar</li>\n</ul>\n<p>table</p>'
137
+ self.assertEqual(result.strip(), expected)
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_plugins.py ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from mistune import create_markdown
2
+ from mistune.plugins.table import table_in_list, table_in_quote
3
+ from mistune.plugins.math import math_in_list, math_in_quote
4
+ from tests import BaseTestCase
5
+
6
+
7
+ def load_plugin(plugin_name):
8
+ md1 = create_markdown(escape=False, plugins=[plugin_name])
9
+ md2 = create_markdown(escape=False, plugins=[plugin_name, 'speedup'])
10
+
11
+ class TestPlugin1(BaseTestCase):
12
+ parse = md1
13
+
14
+ class TestPlugin2(BaseTestCase):
15
+ parse = md2
16
+
17
+ TestPlugin1.load_fixtures(plugin_name + ".txt")
18
+ TestPlugin2.load_fixtures(plugin_name + ".txt")
19
+ globals()["TestPlugin1_" + plugin_name] = TestPlugin1
20
+ globals()["TestPlugin2_" + plugin_name] = TestPlugin2
21
+
22
+
23
+ load_plugin("url")
24
+ load_plugin("strikethrough")
25
+ load_plugin("mark")
26
+ load_plugin("insert")
27
+ load_plugin("superscript")
28
+ load_plugin("subscript")
29
+ load_plugin("task_lists")
30
+ load_plugin("table")
31
+ load_plugin("def_list")
32
+ load_plugin("footnotes")
33
+ load_plugin("abbr")
34
+ load_plugin("math")
35
+ load_plugin("ruby")
36
+ load_plugin("spoiler")
37
+
38
+
39
+ class TestExtraPlugins(BaseTestCase):
40
+ def test_table_in_list(self):
41
+ text = '''- Cell | Cell\n ---- | ----\n 1 | 2\n'''
42
+ md1 = create_markdown(escape=False)
43
+ md2 = create_markdown(escape=False, plugins=['table', table_in_list])
44
+ self.assertNotIn('<table>', md1(text))
45
+ self.assertIn('<table>', md2(text))
46
+
47
+ def test_table_in_quote(self):
48
+ text = '''> Cell | Cell\n> ---- | ----\n> 1 | 2\n'''
49
+ md1 = create_markdown(escape=False)
50
+ md2 = create_markdown(escape=False, plugins=['table', table_in_quote])
51
+ self.assertNotIn('<table>', md1(text))
52
+ self.assertIn('<table>', md2(text))
53
+
54
+ def test_math_in_list(self):
55
+ text = '''- $$\n foo\n $$\n'''
56
+ md1 = create_markdown(escape=False)
57
+ md2 = create_markdown(escape=False, plugins=['math', math_in_list])
58
+ self.assertNotIn('class="math"', md1(text))
59
+ self.assertIn('class="math"', md2(text))
60
+
61
+ def test_math_in_quote(self):
62
+ text = '''> $$\n> foo\n> $$\n'''
63
+ md1 = create_markdown(escape=False)
64
+ md2 = create_markdown(escape=False, plugins=['math', math_in_quote])
65
+ self.assertNotIn('class="math"', md1(text))
66
+ self.assertIn('class="math"', md2(text))
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_renderers.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from mistune import create_markdown
2
+ from mistune.renderers.rst import RSTRenderer
3
+ from mistune.renderers.markdown import MarkdownRenderer
4
+ from tests import BaseTestCase
5
+
6
+
7
+ def load_renderer(renderer):
8
+ class TestRenderer(BaseTestCase):
9
+ parse = create_markdown(renderer=renderer)
10
+
11
+ name = renderer.NAME
12
+ TestRenderer.load_fixtures('renderer_' + name + '.txt')
13
+ globals()["TestRenderer" + name.title()] = TestRenderer
14
+
15
+
16
+ load_renderer(RSTRenderer())
17
+ load_renderer(MarkdownRenderer())
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/tests/trusted/tests/test_syntax.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import mistune
2
+ from tests import BaseTestCase, normalize_html
3
+
4
+
5
+ class TestSyntax(BaseTestCase):
6
+ def assert_case(self, n, text, html):
7
+ result = mistune.html(text)
8
+ self.assertEqual(normalize_html(result), normalize_html(html))
9
+
10
+
11
+ TestSyntax.load_fixtures('fix-commonmark.txt')
12
+ TestSyntax.load_fixtures('diff-commonmark.txt')
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/canaries/first-hunk-only.sh ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ set -Eeuo pipefail
3
+ cd /testbed/repo
4
+ cat > /tmp/openenv-reference.diff <<'OPENENV_PARTIAL'
5
+ diff --git a/src/mistune/util.py b/src/mistune/util.py
6
+ index 7f4e9428fda7a7ba05ce1fd6fdc33eff7d75d80b..884ed55215b3abd44d4513e26d95c26bad6b4ca2 100644
7
+ --- a/src/mistune/util.py
8
+ +++ b/src/mistune/util.py
9
+ @@ -8,8 +8,8 @@
10
+
11
+ def expand_leading_tab(text: str, width: int = 4) -> str:
12
+ def repl(m: Match[str]) -> str:
13
+ - s = m.group(0)
14
+ - return s + ' ' * (len(s) - width)
15
+ + s = m.group(1)
16
+ + return s + ' ' * (width - len(s))
17
+ return _expand_tab_re.sub(repl, text)
18
+
19
+
20
+ OPENENV_PARTIAL
21
+ /usr/bin/git -c core.hooksPath=/dev/null -c core.fsmonitor=false apply --whitespace=nowarn /tmp/openenv-reference.diff
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/canaries/original-bug.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ #!/bin/bash
2
+ set -Eeuo pipefail
3
+ :
tasks/lepture__mistune.bf54ef67.combine_file__cq2by9to/validation/openenv.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "canaries": "validation/canaries",
3
+ "profile": "harbor-semantic-v1",
4
+ "requires_credentials": false,
5
+ "resources": {
6
+ "cpu": 2,
7
+ "disk_mb": 16384,
8
+ "episode_timeout_s": 1800,
9
+ "memory_mb": 8192
10
+ },
11
+ "reward": {
12
+ "floor_margin": 0.1,
13
+ "oracle_tolerance": 0,
14
+ "range": [
15
+ 0,
16
+ 1
17
+ ]
18
+ },
19
+ "reward_key": "reward",
20
+ "types": {
21
+ "tags": [
22
+ "swe",
23
+ "python",
24
+ "mutation-repair"
25
+ ]
26
+ }
27
+ }
tasks/lepture__mistune.bf54ef67.combine_file__d7rfqbr0/LICENSE.source ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2014, Hsiaoming Yang
2
+
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
+
9
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
10
+
11
+ * Neither the name of the creator nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12
+
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.