node.js - How to set default doctype in Gulp-Jade -


i having problem gulp-jade: jade compiler adds value html attributes without value, breaks angularjs setup. (e.g. div(ui-view) becomes <div ui-view="ui-view"> when want <div ui-view>.

the problem not occur files have doctype html, since working 'partials' no help.

i running .pipe(jade()) without additional options. apparently gulp-jade supports jade api options, listed here, not see 1 apply here.

there undocumented doctype option. .pipe(jade({doctype: 'html'})) compiles template under html5 doctype


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -