From 9a4d27bea76a773d8ced51fda2e98ef5f0d871d2 Mon Sep 17 00:00:00 2001 From: supernova <204351268+tmbug@users.noreply.github.com> Date: Sun, 6 Apr 2025 10:52:33 +0200 Subject: [PATCH] support 'hr' inside of 'select' elements --- src/mapping.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapping.js b/src/mapping.js index 323b7d6..39a7052 100644 --- a/src/mapping.js +++ b/src/mapping.js @@ -18,7 +18,7 @@ const onlyValidChildren = { 'template', ]), optgroup: new Set(['option']), - select: new Set(['optgroup', 'option']), + select: new Set(['optgroup', 'option', 'hr']), math: new Set(['mrow']), script: new Set(), // table