bram209 / leptosfmt

A formatter for the leptos view! macro
Apache License 2.0
272 stars 29 forks source link

leptosfmt generates incorrect HTML #62

Closed srid closed 1 year ago

srid commented 1 year ago

For example,

image

(Note the y"> before Loading)

To repro, run leptosfmt in https://github.com/juspay/nix-browser/blob/07f1b187fea776f0ea9a22224aab5f5d5960c280/src/app.rs

bram209 commented 1 year ago

most likely caused by: https://github.com/dtolnay/proc-macro2/issues/410