Skip to content

Add Banzai filter for detecting potential iframes

What does this MR do and why?

Adds Banzai filter iFrameLinkFitler to detect possible iframes and tags them with the class js-render-iframe, for future a frontend MR to render. This is similar to how we handle mermaid diagrams in mermaid_filter.rb, where js-render-mermaid is added and then rendered on the frontend.

Adds the allow_iframes_in_markdown feature flag

References

Related to

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Brett Walker

Merge request reports

Loading