add bbcode support
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<div>
|
||||
<img src="<%= post.avatar_path or "/avatars/default.webp" %>">
|
||||
<div><%= post.username %></div>
|
||||
<div><p><%- require("lapis.html").escape(post.content):gsub("\n", "<br>") %></p></div>
|
||||
<div><p><%- post.content %></p></div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
Reference in New Issue
Block a user