ejs icon indicating copy to clipboard operation
ejs copied to clipboard

Embedded JavaScript templates for node

Results 100 ejs issues
Sort by recently updated
recently updated
newest added

When you ejs template contains literal strings , it will be recognized as delimiters by ejs engine,where it is not the template author's intention and it probably cause en parse...

Hello, I found and fixed next problem with 'include' statement: when I set 'view engine' setting via Express (app.set('view engine', 'html') for example) I can put filepath of the view...

This code will run in an infinite loop eventually taking all memory and killing the node process (Allocation failed - process out of memory): ``` var ejs = require('ejs'); var...

https://github.com/visionmedia/ejs/issues/122 Correct https://github.com/visionmedia/ejs/pull/79 so scope works. Replaces the `(function (){})()` with `(function (){}).call(this)` Includes a test file that passes `locals` and `scope` to the compiled template. `0.8.3` fails the tests...

Added support for templates and mixins. See Readme for more.

修改inlude的路径问题,将相对当前文件路径做文件包含改为相对views的路径做文件包含

Hello, I have an admin express app that I mount in another express app like this: ``` js var admin = new Admin(); app.use('/admin', admin.app); ``` Both apps use ejs...

I use ejs for code and data generation using an Express app. The data (e.g. a CSV file) needs to have DOS newlines to be understood by the tools I...

I've followed the [EJS tutorial](http://www.giantflyingsaucer.com/blog/?p=4241) by Chad Lung and it worked fine for simple filters like `upcase`, `downcase` and `first`, but when I changed the filter to `sort`, I got...

There is code in the escape method to be clever and prevent double-escaping: .replace(/&(?!\w+;)/g, '&') Unfortunately, if you're _discussing_ HTML in a rich text editor, you're going to deliberately write...