Skip to content

Problem with extra white spaces in HTML tags #361

Open
@gcacars

Description

@gcacars

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions