Skip to content

Conversation

@songhn233
Copy link
Member

According to javascript-tutorial/en.javascript.info#2293 (comment), though content is correct, the blank "␣" and "\n" didn't be painted correctly. This PR tries to fix the issue.

The result is as follows:

image

Related: javascript-tutorial/zh.javascript.info#829 and javascript-tutorial/en.javascript.info#2294.

@songhn233
Copy link
Member Author

cc @iliakan

@iliakan
Copy link
Member

iliakan commented Oct 5, 2021

I'll look into it.

What is incorrect exactly? Just to make sure I understand it.

@songhn233
Copy link
Member Author

What is incorrect exactly? Just to make sure I understand it.

image

image

Text nodes also have implicit newlines and spaces, and since the article emphasizes these two characters, the text nodes should also be identified by "␣" and "↵".

image

@songhn233
Copy link
Member Author

Any update? @iliakan

@iliakan
Copy link
Member

iliakan commented Nov 12, 2021

Thanks, fixed!

Sorry for the delay, was queued for an in-depth review.

@iliakan iliakan closed this Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants