2.5.17
Reproduction linkhttps://codesandbox.io/s/6j7kz64znr
Steps to reproduceWhen using two tags like and in a template of a single file component, with some white space in between.
Examples (as in the link)
<div> <br /> <a href="https://vuejs.org/">Vue.js</a> <span>is nice</span>. </div>
results in `Vue.jsis nice.'
What is expected?Expected is the regular handling of white space in browsers that remove all, but one white space.
What is actually happening?The last space is removed.
https://codepen.io/anon/pen/RqEoOr shows the regular handling of this piece of html in a browser (without other css options set).
The problem was noticed when trying to translate text with vue-gettext, where is poses an extra challenge, see Polyconseil/vue-gettext#80
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4