aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Ahlroth <mikko@ahlroth.fi>2024-03-23 02:35:05 +0200
committerGitHub <noreply@github.com>2024-03-23 00:35:05 +0000
commited4c3dacf59fb9d641941b0c7810895acc8a9a24 (patch)
treee1005e6d4ca13cf84ba0542dc2f27a4762758019
parent1d8d13d766b6467188cbded28d103ffb13421c77 (diff)
downloadlustre-ed4c3dacf59fb9d641941b0c7810895acc8a9a24.tar.gz
lustre-ed4c3dacf59fb9d641941b0c7810895acc8a9a24.zip
🔀 Fix a bug where dangerous-unescaped-html attributes were being dropped. (#73)
-rw-r--r--src/lustre/internals/vdom.gleam1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lustre/internals/vdom.gleam b/src/lustre/internals/vdom.gleam
index 0cb4811..9bb165f 100644
--- a/src/lustre/internals/vdom.gleam
+++ b/src/lustre/internals/vdom.gleam
@@ -324,7 +324,6 @@ fn attribute_to_string_parts(
) -> Result(#(String, String), Nil) {
case attr {
Attribute("", _, _) -> Error(Nil)
- Attribute("dangerous-unescaped-html", _, _) -> Error(Nil)
Attribute(name, value, as_property) -> {
let true_atom = dynamic.from(True)