Fixed issue relating to showdownjs not escaping html tags by porting to

markdown-it, also introduced a new function: func.render_md
This commit is contained in:
2025-08-27 15:09:57 +01:00
parent 5f07db1e15
commit 9b5d3f3f73
8 changed files with 17 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
<h3>
<%= post.title %>
</h3>
<%- converter.makeHtml(post.content) %><br/>
<%- func.render_md(post.content) %><br/>
<a href="/post/<%- postID %>"><%= locale.permalink %></a><br/>
<%- func.hyperlink_tags(post.tags) %>
<br/>