bug fix: postID -> post_index

This commit is contained in:
2025-08-27 18:19:12 +01:00
parent 5bd0429ae2
commit c73ce69f93
4 changed files with 11 additions and 4 deletions

View File

@@ -101,6 +101,13 @@ export function render_comment(comment_content) {
};
export function render_md(content) {
const markdownit = require("markdown-it")
const md = markdownit()
const md = markdownit({
html: false,
xhtmlOut: false,
breaks: true,
linkify: false,
typographer: true,
quotes: true,
})
return md.render(content)
};