From f5e45979abd640477e4da87033437d04a7758bf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helmut=20H=C3=A4nsel?= Date: Sun, 5 May 2024 02:37:28 +0200 Subject: [PATCH] fix Stipple.attributes --- src/Stipple.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stipple.jl b/src/Stipple.jl index badc1514..fcaa8a71 100644 --- a/src/Stipple.jl +++ b/src/Stipple.jl @@ -1067,7 +1067,7 @@ function attributes(kwargs::Union{Vector{<:Pair}, Base.Iterators.Pairs, Dict}, v_isa_jsexpr = !isa(v, Union{Symbol, AbstractString, Bool, Number}) attr_key = isa(v, Symbol) && !startswith(k_str, ":") && !endswith(k_str, "!") && - !startswith(k_str, "v-") && !startswith(k_str, "v" * Genie.config.html_parser_char_dash) ? Symbol(":", k) : Symbol(k) + !startswith(k_str, "v-") && !startswith(k_str, "v" * Genie.config.html_parser_char_dash) ? Symbol(":", k_str) : Symbol(k_str) attrs[attr_key] = v_isa_jsexpr ? js_attr(v) : v end