Sync up with Parsoid parserTests.txt
authorArlo Breault <abreault@wikimedia.org>
Mon, 5 Nov 2018 16:56:59 +0000 (11:56 -0500)
committerArlo Breault <abreault@wikimedia.org>
Mon, 5 Nov 2018 16:57:11 +0000 (11:57 -0500)
This now aligns with Parsoid commit 68bfb079ab3c62d5cc79b05d496a4bc2966e9553

Change-Id: I54359f91c28ba5d622175dc1caf10a8ed8e91ad3

tests/parser/parserTests.txt

index 30cd372..6d5054e 100644 (file)
@@ -15142,6 +15142,10 @@ Alt image option should handle most kinds of wikitext without barfing
 
 !! test
 Ampersand in alt attribute (T206940)
+!! options
+parsoid = {
+  "nativeGallery": true
+}
 !! wikitext
 [[File:Foobar.jpg|alt=&amp;amp;]]
 
@@ -15239,6 +15243,10 @@ File:Foobar.jpg|alt=<nowiki>''</nowiki>x<nowiki>''</nowiki>|caption
 
 !! test
 Nowiki markup in alt attribute (edited html, no data-parsoid) (T206940)
+!! options
+parsoid = {
+  "nativeGallery": true
+}
 !! wikitext
 [[File:Foobar.jpg|alt=<nowiki>''x''</nowiki>|caption]]
 
@@ -15303,6 +15311,10 @@ File:Foobar.jpg|link=Foo &amp; bar
 
 !! test
 Ampersand in link attribute (edited html, no data-parsoid) (T206940)
+!! options
+parsoid = {
+  "nativeGallery": true
+}
 !! wikitext
 [[File:Foobar.jpg|link=Foo_&_bar]]
 
@@ -15424,6 +15436,10 @@ File:Foobar.jpg|link=Foo<nowiki>''</nowiki>s_bar<nowiki>''</nowiki>s|caption
 
 !! test
 Nowiki markup in link attribute (edited html, no data-parsoid) (T206940)
+!! options
+parsoid = {
+  "nativeGallery": true
+}
 !! wikitext
 [[File:Foobar.jpg|link=Foo<nowiki>''s_bar''</nowiki>s|caption]]