Subscribe on changes!

Unexpected token “indent” when using Pug templates

avatar
Feb 14th 2021

Version

3.0.5

Reproduction link

https://jsfiddle.net/qfv61h48/4/

Steps to reproduce

What is expected?

Should work without errors

What is actually happening?

Throws "Unexpected token indent" error


If you remove the indentation, it works.

avatar
Feb 15th 2021

How to reproduce the problem? I opened the link you provided and no errors appeared

avatar
Feb 24th 2021

Closed for inactivity. Please open a new issue if you can provide more info / an aczual reproduction

avatar
Feb 15th 2023