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

  is converted to normal space character #945

Closed
mika76 opened this issue Apr 8, 2020 · 3 comments
Closed

  is converted to normal space character #945

mika76 opened this issue Apr 8, 2020 · 3 comments
Labels
🐞 bug Something isn't working scope: compiler

Comments

@mika76
Copy link

mika76 commented Apr 8, 2020

Version

3.0.0-alpha.11

Reproduction link

link to https://vue-next-template-explorer.netlify.com/...

Steps to reproduce

Use   anywhere - see compiled template...

What is expected?

  (among other special characters) should not just be converted to their "normal" counterparts - there's lots of info here: https://www.w3.org/html/wg/wiki/HTMLCharacterUsage

But non-breaking space (#00A0) is not actually a space (#0020)

What is actually happening?

the   is converted to a normal space - it's not even escaped...

@posva posva added the 🐞 bug Something isn't working label Apr 8, 2020
@mika76
Copy link
Author

mika76 commented Apr 9, 2020

Hey @yyx990803 - I see the changes and have played with them a bit in the template explorer - but it doesn't look like the   issue is sorted - it's still getting converted to a normal space.

@yyx990803
Copy link
Member

@mika76 a non-breaking whitespace is visually indistinguishable from a normal whitespace in the source code, but they are in fact different characters. If you copy it and compare it to a normal space in your console you'll see.

@mika76
Copy link
Author

mika76 commented Apr 10, 2020

Ah I see - brilliant - thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: compiler
Projects
None yet
Development

No branches or pull requests

3 participants