embed is self closing and should not have content.怎么解決
Error: C:\Program Files\nodejs\zqqq\views\pages\detail.jade:8
? ?6| ? ? ? each item in movies?
? ?7| ? ? ? ? .col-md-7?
?> 8| ? ? ? ? ? embed(src="#{movie.flash}", allowFullScreen="true", quality="high", width="720", height="600", aligh="middle",type="application/x-shockwave-flash")?
? ?9| ? ? ? ? ? ? .col-ma-5?
? ?10| ? ? ? ? ? ? ? dl.dl-horizontal?
? ?11| ? ? ? ? ? ? ? ? dt 電影名字?
embed is self closing and should not have content.
? ?at Object.Compiler.visitTag (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:471:32)
? ?at Object.Compiler.visitNode (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:225:37)
? ?at Object.Compiler.visit (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:212:10)
? ?at Object.Compiler.visitBlock (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:295:12)
? ?at Object.Compiler.visitNode (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:225:37)
? ?at Object.Compiler.visit (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:212:10)
? ?at Object.Compiler.visitTag (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:480:12)
? ?at Object.Compiler.visitNode (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:225:37)
? ?at Object.Compiler.visit (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:212:10)
? ?at Object.Compiler.visitBlock (C:\Program Files\nodejs\zqqq\node_modules\jade\lib\compiler.js:295:12)
2018-04-12
iframe(src="#{movie.flash}", frameborder="0", allowFullScreen, width="510", height="498")
2018-04-12
embed(src="#{movie.flash}", allowFullScreen="true", quality="high", width="510", height="498", align="middle")
2016-10-26
很明顯,你下面的縮進不對,這樣寫表示embed標簽里面有內容了