vue-meteor icon indicating copy to clipboard operation
vue-meteor copied to clipboard

Problem with extra white spaces in HTML tags

Open gcacars opened this issue 6 years ago • 1 comments

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?

gcacars avatar May 07 '19 02:05 gcacars

I think this is a duplicate of #352

wildhart avatar Dec 11 '19 01:12 wildhart