Uexpected token 'tag' jade node.js

html, node.js, pug

Solution

Try this:

label(for="polaziste") Polaziste

Notice space before Polaziste.

Problem

I get: ``` Unexpected token 'tag' expected 'text', 'code', ':', 'newline' or 'eos' ``` because of this code: ``` label(for="polaziste")Polaziste ``` in ``` #main form(action="/raspored" method=post) label(for="polaziste")Polaziste input(type="list" id="polaziste") datalist#polaziste for pol,i in popis option(value = pol) ``` Why? :)

Original source