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 with html5 video
Magnific Popup Gallery: How can I display a counter in an inline type item?
Magnific Popup - gallery images not displaying
Magnific Popup custom arrow and number
Is it possible to pass data via the post method to magnific popup when ajax loading content?
What is the best way to test if a Magnific Popup is currently “open”
Apply callback to all instances of Magnific Popup?
Magnific Popup show background image while loading fullres image
Popup - It should load an .aspx page
Modal dialog. - Confusing
Toggle verticalFit on an open image?
Does Magnific Popup support custom events/buttons
I can't get the overflowY option to work in magnific popup
magnific popup group do not working
Magnific-popup: how to get image url from <img src=“…”>?
Styling magnific-popup arrows