X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4600d458d4541122d44c504311105c9378e28b84;hb=9bb096a81834b63f5574c7f7231ad35271afc058;hp=74e3450c7a18f8b525e1cdef202bfa7592b3bc76;hpb=ecf753a31601e558b681daab0598009fe9eec99a;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 74e3450..4600d45 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,9 +1,9 @@ -
+
- Avatar Image + Avatar Image
@@ -16,10 +16,32 @@ <%/if> <%/if> -
<% post.text|parse sone=post.sone>
+ <% post.text|html|store key=originalText text=true> + <% post.text|parse sone=post.sone|store key=parsedText text=true> +
<% originalText>
+
<% parsedText>
+
+
+ + + + +
+
+ + + + +
+
+ · + <%if ! originalText|match key=parsedText> + · + + <%/if>
· ↑ @@ -84,7 +106,7 @@