mondeja / leptos-fluent

Internationalization framework for Leptos using Fluent
https://mondeja.github.io/leptos-fluent/
MIT License
38 stars 10 forks source link

Preserve HTML tag `attributes` on SSR #211

Open mondeja opened 3 months ago

mondeja commented 3 months ago

Since #210, attributes that are not lang, dir nor class are removed on SSR if using sync_html_tag_lang and/or sync_html_tag_dir. This is due to a limitation on Leptos v0.6, which forces attribute keys to be 'static.

We need to create an API for this on Leptos itself.