use htmxpress::*; #[derive(Element)] #[element("div")] #[hx_get("/foo?bar={}", fo)] #[urlencode] struct Test { #[element("p")] #[hx_get("/{}", fo)] #[urlencode] fo: String, } #[test] fn works() { let test = Test { fo: "crazy param".to_string(), }; let html = r#"
crazy param