How to avoid <
in a JSX being converted to <
when using @swc/core/parse*
?
#2168
Unanswered
rinarakaki
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want the HTML entities (
<
) in a JSX to remain as they are instead of being converted to the real symbols (<
).Do we have the option to pass to
swc.parseSync
in order to suppress the change, or one forswc.printSync
to convert them back to the original HTML entities?Beta Was this translation helpful? Give feedback.
All reactions