Skip to content

Unquoted Text #2

@stoically

Description

@stoically

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions