Open georgeyjm opened 4 years ago
A possible solution is to convert from SSR (server-side rendering) to AJAX with RESTful APIs to render in client-side.
This also brings the benefit of being able to cache certain pages because pre-rendered pages are the same for all users.
But as this is too much work, I will postpone the implementation of this solution.
This is caused by the removal of line breaks by Jinja when rendering a template.
After some searching, there doesn’t seem to be a satisfying solution. Hence I will leave this issue open.