meteor-vue / vue-meteor

🌠 Vue first-class integration in Meteor
897 stars 112 forks source link

Problem with extra white spaces in HTML tags #361

Open gcacars opened 5 years ago

gcacars commented 5 years ago

I have a problem with extra spaces from line breaks in Vue single components.

I have:

<p>
  Basta aguardar a aprovação agora, você receberá um e-mail quando isso acontecer.
  <br>
  Até mais!
</p>

After, Vue renders a not desired behavior: image

This is not default browser behavior! image

Also change <p> to inline text shows me a ESLint error (Expected 1 line break after opening tag (<p>), but no line breaks found.).

In the Vue's GitHub has an issue about this 9208 to change compiler option whitespace, but I didn't find how I set this in the Vue-Meteor. Any ideas?

wildhart commented 4 years ago

I think this is a duplicate of #352