sstephenson/ruby-ejs — pull request #16 by emma-borhanian (2013-09-26 19:41:31+00:00)
Title: Coerce null/undefined to empty string when escaping

When you use escape tags with a null value it will be turned into the string "null", which can be incredibly inconvenient.

For example

````
value: "<%- null %>"
````

becomes

````
value: "null"
````

This patch changes the result to:

````
value: ""
````
This is consistent with the behavior of e.g. erb