Skip to content

Refactor the embedded player code injection logic in order to not change the initial structure

Quoc Huy Nguyen Dinh requested to merge fix-spoilers into develop

When adding a video URL in the spoiler code, the current way we inject the embedded player iframe code changes the HTML structure of the original content because it's splitting the original HTML into section and wraps each section inside a DIV. I've refactor this in order to keep the original structure intact.



Edited by Quoc Huy Nguyen Dinh

Merge request reports