Magnific Popup close button placed in invalid html?
Using Magnific Popup, when my gallery displays, I'm seeing that the generated code nests the <button> to close the gallery within the <img> that's being displayed, like so: <img><button></img>. According to MDN's img tag details, permitted content isn't allowed, as it's an empty element. As a result, the close button isn't displaying in my gallery. Is there any way to fix this?
In the gallery initialization object, you're passing along an array of markup snippets. My markup was just an <img> tag, but I fixed it by wrapping the <img> in a <div>.
Magnific popup: getting “The image could not be loaded”
How to give a fixed size to image in magnific-popup pluggin
magnific popup Inline Lightbox Gallery how to specify item in array from html link
how to make browser back close magnific-popup
Simple Magnific Popup Gallery not working
Magnific Popup onload calling a url
callbacks not firing when opening a magnific popup from another one
Magnific Popup - taller mfp-bottom-bar causes max image height issue
How to generate a (magnific popup)-gallery without a-tags
Add data to items in Magnific Popup
How to set the divs to make Magnific Popup animations work
how to display map in mobile devices using magnific popup?
Magnific Popup - Counter in Videogallery
how to manually open and close the popup using Magnific-Popup
How to customize arrows and close button?
no closing “X” with inline content