Skip to content
Snippets Groups Projects
Commit 2929097e authored by alexisben's avatar alexisben
Browse files

fix iframe partial

parent b59e1c30
No related branches found
No related tags found
No related merge requests found
{{ $chunks := split . "<iframe" }}
{{ $text := delimit $chunks "<div class=\"ratio ratio-16x9\"><iframe loading=\"lazy\"" }}
{{ $text := delimit $chunks "<iframe loading=\"lazy\"" }}
{{ $chunks = split $text "</iframe>" }}
{{ $text = delimit $chunks "</iframe></div>" }}
{{ $text = delimit $chunks "</iframe>" }}
{{ return $text }}
......@@ -2,7 +2,7 @@
safeHTML (
chomp (
partial "CorrectPunctuation" (
partial "FixIframeRatio" (
partial "FilterIframeLazy" (
.
)
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment