!! test
Ampersand in alt attribute (T206940)
!! test
Ampersand in alt attribute (T206940)
+!! options
+parsoid = {
+ "nativeGallery": true
+}
!! wikitext
[[File:Foobar.jpg|alt=&]]
!! wikitext
[[File:Foobar.jpg|alt=&]]
!! test
Nowiki markup in alt attribute (edited html, no data-parsoid) (T206940)
!! 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]]
!! wikitext
[[File:Foobar.jpg|alt=<nowiki>''x''</nowiki>|caption]]
!! test
Ampersand in link attribute (edited html, no data-parsoid) (T206940)
!! test
Ampersand in link attribute (edited html, no data-parsoid) (T206940)
+!! options
+parsoid = {
+ "nativeGallery": true
+}
!! wikitext
[[File:Foobar.jpg|link=Foo_&_bar]]
!! wikitext
[[File:Foobar.jpg|link=Foo_&_bar]]
!! test
Nowiki markup in link attribute (edited html, no data-parsoid) (T206940)
!! 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]]
!! wikitext
[[File:Foobar.jpg|link=Foo<nowiki>''s_bar''</nowiki>s|caption]]