When I use <%- %>
to print the content of my article, it works fine as long as the article content is short. However, when the article content is long, I encounter a 500 error, and instead of rendering the page, an empty object is displayed. The content of my articles is written with CKEditor.
Here is my EJS template code:
<%- article.content %>
Any suggestions on how to resolve this issue would be greatly appreciated.