chinedufn / percy

Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
https://chinedufn.github.io/percy/
Apache License 2.0
2.27k stars 84 forks source link

Fix parenthesized blocks in html macro #187

Open chinedufn opened 1 year ago

chinedufn commented 1 year ago
let val = 5;

html! {<div>({val})</div>}.to_string();
// Currently returns: "<div>({val})</div>"
// Should return: "<div>(5)</div>"