Add iframe to elements that may be empty

This commit is contained in:
Thelonius Kort
2025-05-05 14:45:43 +02:00
parent c8d1639afa
commit 2111cfa1d1

View File

@ -10,7 +10,7 @@ defmodule Outlook.InternalTree.RawInternalBasic do
@splitmarker "@@translationunit@@"
@nonperiodmarker "@@nonperiod@@"
@void_elements ~w(img br hr)
@void_elements ~w(img br hr iframe)
def set_split_markers([ %InternalNode{type: :text} = textnode | rest ]) do
[ %InternalNode{textnode |