tj / ejs

Embedded JavaScript templates for node
4.47k stars 512 forks source link

Whitespace incurable by trim-mode. #227

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi there. I am using EJS to create a table. Of course, there is whitespace between each row. To remedy this, I tried using the '-%>' closing tag, but this causes unintended behaviour and does not cure the problem. I have includes some examples below.

Without trim-mode: http://i.imgur.com/k51qTaz.png

With trim-mode: http://i.imgur.com/sfcRKmd.png

The tag: https://hastebin.com/ulequmagey.js

Thanks.

mde commented 7 years ago

This version of EJS is no longer maintained. The one that is installable via NPM is located here: https://github.com/mde/ejs