blob: 4ec2c25e1331e2c6fbf9b62e99ef239435c6b858 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
### Regression tests
Issue #113: EOL character weirdness on Windows
(Important: first line ends with CR + CR + LF)
```````````````````````````````` example
line1
line2
.
<p>line1</p>
<p>line2</p>
````````````````````````````````
Issue #114: cmark skipping first character in line
(Important: the blank lines around "Repeatedly" contain a tab.)
```````````````````````````````` example
By taking it apart
- alternative solutions
→
Repeatedly solving
→
- how techniques
.
<p>By taking it apart</p>
<ul>
<li>alternative solutions</li>
</ul>
<p>Repeatedly solving</p>
<ul>
<li>how techniques</li>
</ul>
````````````````````````````````
Issue jgm/CommonMark#430: h2..h6 not recognized as block tags.
```````````````````````````````` example
<h1>lorem</h1>
<h2>lorem</h2>
<h3>lorem</h3>
<h4>lorem</h4>
<h5>lorem</h5>
<h6>lorem</h6>
.
<h1>lorem</h1>
<h2>lorem</h2>
<h3>lorem</h3>
<h4>lorem</h4>
<h5>lorem</h5>
<h6>lorem</h6>
````````````````````````````````
Issue jgm/commonmark.js#109 - tabs after setext header line
```````````````````````````````` example
hi
--→
.
<h2>hi</h2>
````````````````````````````````
Issue #177 - incorrect emphasis parsing
```````````````````````````````` example
a***b* c*
.
<p>a*<em><em>b</em> c</em></p>
````````````````````````````````
Issue #193 - unescaped left angle brackets in link destination
```````````````````````````````` example
[a]
[a]: <te<st>
.
<p><a href="%3Cte%3Cst%3E">a</a></p>
````````````````````````````````
Issue #192 - escaped spaces in link destination
```````````````````````````````` example
[a](te\ st)
.
<p>[a](te\ st)</p>
````````````````````````````````
Issue #527 - meta tags in inline contexts
```````````````````````````````` example
City:
<span itemprop="contentLocation" itemscope itemtype="https://schema.org/City">
<meta itemprop="name" content="Springfield">
</span>
.
<p>City:
<span itemprop="contentLocation" itemscope itemtype="https://schema.org/City">
<meta itemprop="name" content="Springfield">
</span></p>
````````````````````````````````
Issue #530 - link parsing corner cases
```````````````````````````````` example
[a](\ b)
[a](<<b)
[a](<b
)
.
<p>[a](\ b)</p>
<p><a href="%3C%3Cb">a</a></p>
<p><a href="%3Cb">a</a></p>
````````````````````````````````
Issue commonmark#526 - unescaped ( in link title
```````````````````````````````` example
[link](url ((title))
.
<p>[link](url ((title))</p>
````````````````````````````````
|