Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template compiler ignores pug whitespace control? #9849

patriciussanctus opened this Issue Apr 9, 2019 · 1 comment


None yet
2 participants
Copy link

patriciussanctus commented Apr 9, 2019



Reproduction link

Steps to reproduce

i want in markup <span>1</span> <span>2</span> in pug

What is expected?

expected whitespaces appear in DOM

What is actually happening?

my markup sticks together

compiler ignores pug recommended solutions of whitespace control


This comment has been minimized.

Copy link

posva commented Apr 9, 2019

In the doc it tells you to use multiple | to have a space:

      | text

Take a look at the compiler options:

@posva posva closed this Apr 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.