Jade note


Jade:

  • Indentations represent tag nesting
  • The equals sign means include a variable
  • Not equal means include a variable without escaping it first
  • The hyphen sign allows inclusion of JavaScript

Note that it’s generally a good idea to escape as much as possible to reduce the chance of XSS attacks.


Reference:
http://dailyjs.com/2010/11/22/node-tutorial-4/