Made some small changes

This commit is contained in:
deadvey
2026-03-03 20:39:40 +00:00
parent 9be261d415
commit 3fab094545
4 changed files with 8 additions and 16 deletions
+2
View File
@@ -59,6 +59,7 @@ export function unix_time_to_atom_date(unix_time)
// returns: string
export function render_tags(tags)
{
tags = tags.filter((item, index) => tags.indexOf(item) === index) // Remove duplicate tags
let string = "" // Initialises the string
if (tags.length == 1 && tags[0] == "")
{
@@ -135,6 +136,7 @@ export function render_md(content)
typographer: true,
quotes: locale.quotes,
})
.disable('image');
return md.render(content)
};