You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$example['output'] = \str_replace("<pre>The following line is part of HTML block.\n\n</li>", "<pre>The following line is part of HTML block.\n</li>", $example['output']);
yield ['google.com is missing www and/or a protocol', '<p>google.com is missing www and/or a protocol</p>'];
@@ -60,7 +60,7 @@ public static function dataProviderForAutolinkTests(): iterable
60
60
yield ['Maybe you\'re interested in https://www.google.com/search?q=php+commonmark!', '<p>Maybe you\'re interested in <a href="https://www.google.com/search?q=php+commonmark">https://www.google.com/search?q=php+commonmark</a>!</p>'];
61
61
yield ['Or perhaps you\'re looking for my personal website https://www.colinodell.com...?', '<p>Or perhaps you\'re looking for my personal website <a href="https://www.colinodell.com">https://www.colinodell.com</a>...?</p>'];
62
62
yield ['Check https://www.stackoverflow.com: they have all the answers', '<p>Check <a href="https://www.stackoverflow.com">https://www.stackoverflow.com</a>: they have all the answers</p>'];
Copy file name to clipboardExpand all lines: tests/functional/Extension/TableOfContents/md/headings-with-inlines.html
+3-9
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,7 @@
1
1
<ulclass="table-of-contents">
2
-
<li>
3
-
<ahref="#content-this-heading-has-a-link">This heading has a link</a>
4
-
</li>
5
-
<li>
6
-
<ahref="#content-20-reasons-why-marquee-tags-should-make-a-comeback">20 Reasons Why <marquee> Tags Should Make A Comeback</a>
7
-
</li>
8
-
<li>
9
-
<ahref="#content-i-love-using--characters-in-markdown">I love using * characters in Markdown!</a>
10
-
</li>
2
+
<li><ahref="#content-this-heading-has-a-link">This heading has a link</a></li>
3
+
<li><ahref="#content-20-reasons-why-marquee-tags-should-make-a-comeback">20 Reasons Why <marquee> Tags Should Make A Comeback</a></li>
4
+
<li><ahref="#content-i-love-using--characters-in-markdown">I love using * characters in Markdown!</a></li>
11
5
</ul>
12
6
<p>My Awesome Blog Post</p>
13
7
<h2><aid="content-this-heading-has-a-link" href="#content-this-heading-has-a-link" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a><ahref="https://example.com">This heading</a> has a link</h2>
Copy file name to clipboardExpand all lines: tests/functional/Extension/TableOfContents/md/position-placeholder-multiple.html
+6-16
Original file line number
Diff line number
Diff line change
@@ -1,28 +1,18 @@
1
1
<p>This is my document.</p>
2
2
<ulclass="table-of-contents">
3
-
<li>
4
-
<ahref="#content-another-copy-of-my-toc-is-here">Another copy of my TOC is here</a>
3
+
<li><ahref="#content-another-copy-of-my-toc-is-here">Another copy of my TOC is here</a>
5
4
<ul>
6
-
<li>
7
-
<ahref="#content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt">This contains something that looks like a placeholder but actually isn't</a>
8
-
</li>
9
-
<li>
10
-
<ahref="#content-just-a-link-reference-down-here">Just a link reference down here</a>
11
-
</li>
5
+
<li><ahref="#content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt">This contains something that looks like a placeholder but actually isn't</a></li>
6
+
<li><ahref="#content-just-a-link-reference-down-here">Just a link reference down here</a></li>
12
7
</ul>
13
8
</li>
14
9
</ul>
15
10
<h1><aid="content-another-copy-of-my-toc-is-here" href="#content-another-copy-of-my-toc-is-here" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Another copy of my TOC is here</h1>
16
11
<ulclass="table-of-contents">
17
-
<li>
18
-
<ahref="#content-another-copy-of-my-toc-is-here">Another copy of my TOC is here</a>
12
+
<li><ahref="#content-another-copy-of-my-toc-is-here">Another copy of my TOC is here</a>
19
13
<ul>
20
-
<li>
21
-
<ahref="#content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt">This contains something that looks like a placeholder but actually isn't</a>
22
-
</li>
23
-
<li>
24
-
<ahref="#content-just-a-link-reference-down-here">Just a link reference down here</a>
25
-
</li>
14
+
<li><ahref="#content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt">This contains something that looks like a placeholder but actually isn't</a></li>
15
+
<li><ahref="#content-just-a-link-reference-down-here">Just a link reference down here</a></li>
0 commit comments