denoland / deno_ast

Source text parsing, lexing, and AST related functionality for Deno
https://crates.io/crates/deno_ast
MIT License
144 stars 43 forks source link

fix: tab whitespace not removed in JSXText #228

Closed marvinhagemeister closed 3 months ago

marvinhagemeister commented 3 months ago

This PR fixes an issue in the JSX precompile transform where leading and trailing whitespace would not be removed when composed of tab characters.

Fixes https://github.com/denoland/deno/issues/23030