@@ -96,7 +96,7 @@ public function getTags(): array
9696 'script ' ,
9797 ['src ' => 'http://magento.com/static/some-script.js ' ],
9898 null ,
99- '<script src="http://magento.com/static/some-script.js"/ > ' ,
99+ '<script src="http://magento.com/static/some-script.js"></script > ' ,
100100 [new FetchPolicy ('script-src ' , false , ['http://magento.com ' ])]
101101 ],
102102 'inline-script ' => [
@@ -209,7 +209,7 @@ public function getTags(): array
209209 'iframe ' ,
210210 ['src ' => 'http://magento.com/some-page ' ],
211211 null ,
212- '<iframe src="http://magento.com/some-page"/ > ' ,
212+ '<iframe src="http://magento.com/some-page"></iframe > ' ,
213213 [new FetchPolicy ('frame-src ' , false , ['http://magento.com ' ])]
214214 ],
215215 'remote-track ' => [
@@ -230,21 +230,21 @@ public function getTags(): array
230230 'video ' ,
231231 ['src ' => 'https://magento.com/static/video.mp4 ' ],
232232 null ,
233- '<video src="https://magento.com/static/video.mp4"/ > ' ,
233+ '<video src="https://magento.com/static/video.mp4"></video > ' ,
234234 [new FetchPolicy ('media-src ' , false , ['https://magento.com ' ])]
235235 ],
236236 'remote-audio ' => [
237237 'audio ' ,
238238 ['src ' => 'https://magento.com/static/audio.mp3 ' ],
239239 null ,
240- '<audio src="https://magento.com/static/audio.mp3"/ > ' ,
240+ '<audio src="https://magento.com/static/audio.mp3"></audio > ' ,
241241 [new FetchPolicy ('media-src ' , false , ['https://magento.com ' ])]
242242 ],
243243 'remote-object ' => [
244244 'object ' ,
245245 ['data ' => 'http://magento.com/static/flash.swf ' ],
246246 null ,
247- '<object data="http://magento.com/static/flash.swf"/ > ' ,
247+ '<object data="http://magento.com/static/flash.swf"></object > ' ,
248248 [new FetchPolicy ('object-src ' , false , ['http://magento.com ' ])]
249249 ],
250250 'remote-embed ' => [
@@ -259,7 +259,7 @@ public function getTags(): array
259259 ['code ' => 'SomeApplet.class ' , 'archive ' => 'https://magento.com/applet/my-applet.jar ' ],
260260 null ,
261261 '<applet code="SomeApplet.class" '
262- . 'archive="https://magento.com/applet/my-applet.jar"/ > ' ,
262+ . 'archive="https://magento.com/applet/my-applet.jar"></applet > ' ,
263263 [new FetchPolicy ('object-src ' , false , ['https://magento.com ' ])]
264264 ]
265265 ];
@@ -294,7 +294,7 @@ public function testSecureHtmlRenderer(): void
294294 $ eventListener = $ this ->secureHtmlRenderer ->renderEventListener ('onclick ' , 'alert() ' );
295295
296296 $ this ->assertEquals (
297- '<script src="https://test.magento.com/static/script.js"/ > ' ,
297+ '<script src="https://test.magento.com/static/script.js"></script > ' ,
298298 $ scriptTag
299299 );
300300 $ this ->assertEquals (
0 commit comments