Skip to content

Commit

Permalink
fix Stipple.attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
hhaensel committed May 5, 2024
1 parent 851bd4c commit f5e4597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stipple.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit f5e4597

@hhaensel
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: Version 0.30.0 already exists

Please sign in to comment.