Open
Description
Support for <div>Some Text</div>
via proc_macro2
's span-locations
feature by manually calculating the whitespaces based on Span start
and end
Depends on rust-lang/rust#54725
Caveat
- Whitespaces after text and before newline can't be determined correctly, so text that relies on 100% accurate whitespacing (like in
<pre>
) will not render correctly
Activity