Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xml-js: Eats spaces between tags #244

Open
mkoskim opened this issue Oct 13, 2024 · 0 comments
Open

xml-js: Eats spaces between tags #244

mkoskim opened this issue Oct 13, 2024 · 0 comments
Labels
need fix Something needs fixing at some point

Comments

@mkoskim
Copy link
Owner

mkoskim commented Oct 13, 2024

For example:

<b>Lorem</b> <i>ipsum</i> ...

-->

[
  {type: "element", name: "b", children: [{text: "Lorem"}]},
  {type: "element", name: "i", children: [{text: "ipsum"}]},
  {type: "text", text: " ..."}
]

Should be:

[
  {type: "element", name: "b", children: [{text: "Lorem"}]},
  {type: "text", text: " "}
  {type: "element", name: "i", children: [{text: "ipsum"}]},
  {type: "text", text: " ..."}
]
@mkoskim mkoskim added the need fix Something needs fixing at some point label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need fix Something needs fixing at some point
Projects
None yet
Development

No branches or pull requests

1 participant