Commit 55456dbc1e

55456dbc1e0f22af1a77aba659d48d0d2381094d

parent: d5c330ac72

Unregistered key

vaw <git@nlih.de> · 2025-09-13 20:38 UTC
committer: <noreply@github.com>

Treat unknown html tags as plain text (#509)

Layout: unified · split

src/message/html.rs +2 −1
@@ -820,7 +820,8 @@ fn h2t(hdl: &Handle, state: &mut TreeGenState) -> StyleTreeChildren {
820 *c2t(&node.children.borrow(), state) 820 *c2t(&node.children.borrow(), state)
821 }, 821 },
822 822
823 _ => return vec![], 823 // Treat unknown tags as plain text.
824 _ => *c2t(&node.children.borrow(), state),
824 } 825 }
825 }, 826 },
826 827