+
Contents
@@ -20688,6 +20701,48 @@ image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.
!! end
+!! test
+Gallery (without px units)
+!! wikitext
+
+File:Foobar.jpg
+
+!! html/php
+
+
+!! html/parsoid
+
+!! end
+
+!! test
+Gallery (with invalid units)
+!! wikitext
+
+File:Foobar.jpg
+
+!! html/php
+
+
+!! html/parsoid
+
+!! end
+
!! test
Gallery with link that has fragment
!! options
@@ -21608,7 +21663,7 @@ Out-of-order TOC heading levels
=====5=====
==2==
!! html
-
Contents
+
Contents
- 1 2
@@ -24242,7 +24297,7 @@ title=[[Main Page]]
__TOC__
== ''Lost'' episodes ==
!! html/php
-Contents
+
Contents
@@ -24263,7 +24318,7 @@ title=[[Main Page]]
__TOC__
== '''should be bold''' then normal text ==
!! html/php
-
Contents
+
Contents
@@ -24284,7 +24339,7 @@ title=[[Main Page]]
__TOC__
== Image [[Image:foobar.jpg]] ==
!! html/php
-
Contents
+
Contents
@@ -24305,7 +24360,7 @@ title=[[Main Page]]
__TOC__
==
Quote
==
!! html/php
-
Contents
+
Contents
@@ -24316,7 +24371,7 @@ __TOC__
!! html/php+tidy
-
+
Contents
@@ -24346,7 +24401,7 @@ __TOC__
Hanc marginis exiguitas non caperet.
QED
!! html/php
-Contents
+
Contents
@@ -24371,7 +24426,7 @@ __TOC__
==
Foo Bar
==
!! html/php
-
Contents
+
Contents
- 1 Foo Bar
- 2 Foo Bar
@@ -24384,7 +24439,7 @@ __TOC__
!! html/php+tidy
-
+
Contents
@@ -24418,7 +24473,7 @@ __TOC__
== Evilbye ==
!! html/php
-Contents
+
Contents
- 1 Hello
- 2 b">Evilbye
@@ -24449,7 +24504,7 @@ __TOC__
== Attributes after dir on these span tags must be deleted from the TOC ==
!! html/php
-Contents
+
Contents
- 1 C++
- 2 ××× ×!
@@ -24480,7 +24535,7 @@ T74884: bdi element in ToC
__TOC__
== test ==
!! html/php
-Contents
+
Contents
@@ -24499,7 +24554,7 @@ T35715: s/strike element in ToC
__TOC__
==
test test
test ==
!! html/php
-
Contents
+
Contents
@@ -24521,7 +24576,7 @@ Empty
tag in TOC, removed by Sanitizer (T92892)
__TOC__
== x ==
!! html/php
-
Contents
+
Contents
@@ -24532,7 +24587,7 @@ __TOC__
!! html/php+tidy
-
+
Contents
@@ -29955,7 +30010,7 @@ wgFragmentMode=[ 'html5', 'legacy' ]
[[#å¤é
]] [[#%E5%95%A4%E9%85%92]]
!! html/php
-Contents
+
Contents
- 1 Foo bar
- 2 foo Bar
@@ -30021,7 +30076,7 @@ wgFragmentMode=[ 'legacy', 'html5' ]
[[#å¤é
]] [[#%E5%95%A4%E9%85%92]]
!! html/php
-Contents
+
Contents
- 1 Foo bar
- 2 foo Bar
@@ -30069,7 +30124,7 @@ wgFragmentMode=[ 'html5' ]
[[#å¤é
]] [[#%E5%95%A4%E9%85%92]]
!! html/php
-Contents
+
Contents
- 1 Foo bar
- 2 foo Bar
@@ -30608,3 +30663,25 @@ b
!! end
+
+!! test
+Pseudo-sections emitted by templates should have id -2
+!! options
+parsoid={
+ "wrapSections": true
+}
+!! wikitext
+foo
+{{echo|
+== a ==
+== b ==
+
+}}
+!! html/parsoid
+
+!! end