Problems With Jade, Unexpected Character #
I keep getting: .../views/index.jade:20 18| alert(error) 19| }) > 20| server.on('warning',function(warning){ 21| alert(warning) 22| }) 23| var num = -1 Unexpected character # ex
Solution 1:
jade github readme.md:
Jade version 0.31.0 deprecated implicit text only support for scripts and styles. To fix this all you need to do is add a . character after the script or style tag.
And jade docs:
Often you might want large blocks of text within a tag. A good example is with inline scripts or styles. To do this, just add a . after the tag (with no preceding space)
Write script.
instead of script
Post a Comment for "Problems With Jade, Unexpected Character #"