You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no command :/ couldn't find anything about what vue info does so ¯\_(ツ)_/¯
Steps to reproduce
Add non breaking space characters. eg, in a component:
{{ text }}< template v-if="something">& nbsp ;< specialComponent />< /template>
they are stripped out by default and replaced with an ordinary space. (ignore the weird spaces. i needed some way to make those things appear in the form preview)
if i'm adding a non breaking space then there's a high chance i need it.
you can't even add a non breaking space with & nbsp ; but instead need to use {{ '\xa0' }}
What is expected?
non breaking spaces are preserved
What is actually happening?
non breaking spaces are removed and replaced with one ordinary space
non breaking spaces can only be added with what's pretty much an ugly hack
The text was updated successfully, but these errors were encountered:
This is a bug. whitespace: condense should not remove , they are not whitespaces but non breaking spaces and there is a difference, if it is being added with an html entity vue should definitely not remove it or convert it to a normal space but currently that's not the case, they are being stripped down and converted to normal spaces
Since this issue is actually the most referenced in google for some reason, here are the active and open PR/Issues #5639 vuejs/vue#11065
Version
4.0.5
Environment info
Steps to reproduce
Add non breaking space characters. eg, in a component:
{{ text }}< template v-if="something">& nbsp ;< specialComponent />< /template>
they are stripped out by default and replaced with an ordinary space. (ignore the weird spaces. i needed some way to make those things appear in the form preview)
if i'm adding a non breaking space then there's a high chance i need it.
you can't even add a non breaking space with & nbsp ; but instead need to use {{ '\xa0' }}
What is expected?
non breaking spaces are preserved
What is actually happening?
non breaking spaces are removed and replaced with one ordinary space
non breaking spaces can only be added with what's pretty much an ugly hack
The text was updated successfully, but these errors were encountered: