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

Unicode Line Separator (U+2028) not rendered correctly #3178

Closed
apblack opened this issue Jan 3, 2017 · 4 comments
Closed

Unicode Line Separator (U+2028) not rendered correctly #3178

apblack opened this issue Jan 3, 2017 · 4 comments

Comments

@apblack
Copy link

apblack commented Jan 3, 2017

Ace knows how to render an ASCII line feed (U+000A) (as a line break), but apparently does not know how to render a Unicode line separator (which should also be rendered as a line break).

Replacing all the Line Separators with line feeds does not seem like an acceptable solution; text editors should not change the text that they are editing unless the user says so.

@nightwing
Copy link
Member

Do you know of an editor that renders U+2028 as a new line? Everything i have tried, including textarea, do not render it

@apblack
Copy link
Author

apblack commented Jan 7, 2017

Apple's TextEdit renders it just fine. So does Xcode. These are the main editors that I use. As an experiment, I tried emacs, and it fails to render U+2028 correctly. I would guess that this might be true of many legacy editors that pre-date Unicode. I would expect that a modern editor like Ace would work fine for Unicode, or at least for that subset of Unicode that Javascript supports.

@xfq
Copy link

xfq commented Jan 28, 2022

FWIW, I did some tests in w3c/csswg-drafts#6992 (comment)

@andrewnester
Copy link
Contributor

This relates to this issue, so closing as a duplicate #460

@andrewnester andrewnester closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants