diff --git a/views/post.ejs b/views/post.ejs index 43d2489..7ba8761 100644 --- a/views/post.ejs +++ b/views/post.ejs @@ -113,6 +113,7 @@ .replaceAll('["\n', '
').replaceAll('\n"]', '
') .replaceAll('["" \n', '
').replaceAll('\n ""]', '
') .replaceAll('\n', '
') + .replaceAll(/(https?:\/\/[^ \n]+)/g, '$1') if (postid != -1 || id == '') { if(makeForm) { if(postid != -1)