mde / ejs

Embedded JavaScript templates -- http://ejs.co
Apache License 2.0
7.7k stars 841 forks source link

Ejs snippets add a whitespace character after the output #705

Closed Arti-Art closed 1 year ago

Arti-Art commented 1 year ago

Hi, I was wondering why all EJS snippets add a whitespace character after the output. Example: <p>ejsout+tab</p> will result in <p><%= %> </p>, and not <p><%= %></p> Is there a reason for it? Or is it a setting to tweak? It is annoying to manually remove those whitespaces.

mde commented 1 year ago

From the docs, at http://ejs.co/:

Screen Shot 2022-12-16 at 22 54 47