`{% attrs %}` do not render attributes starting with a `@`
jlopinto opened this issue · comments
Julien Lopinto commented
Hi,
Trying to marry Slippers with AlpineJS I found that attributes starting with @
do not render.
Component definition:
<button {% attrs type @click %}>{{ children }}</button>
Usage:
{% #button type="button" @click="open = true" %}Open something{% /button %}
Render:
<button>Open something</button>
It's not even rendering the type
attribute
Mitchel Cabuloy commented
Special character support added in #23.
Mitchel Cabuloy commented
I've released version 0.5.0a0
which addresses this issue. Could you please give it a try?
pip install slippers==0.5.0a0
Julien Lopinto commented
I confirm, It now works as expected!