Discussions

Ask a Question
Back to All

why does it remove my white spaces

Hi if have got the follow html.

{{ store.store.name }}
{{ store.store.address.street }}
{{ store.store.address.zipcode }} {{ store.store.address.place }}
{{ store.store.address.country }}
{{ store.store.address.phone }}
{{ store.store.address.email }}

I put a space between 2 elements tag when i compile te spaces are removed.
this is also if i put there  

What do i need to do to get this fixed

Is your HTML being minified?

In your app.js there's a reshape object. try removing the minify line.

reshape: htmlStandards({
    root: 'views',
    parser: sugarml,
    locals: (ctx) => Object.assign(locals, {pageId: pageId(ctx), foo: 'bar' }),
    retext: []
    // minify: env === 'production'
  }),