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
Support for
<div>Some Text</div>viaproc_macro2'sspan-locationsfeature by manually calculating the whitespaces based on SpanstartandendDepends on rust-lang/rust#54725
Caveat
<pre>) will not render correctly