X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4600d458d4541122d44c504311105c9378e28b84;hb=9bb096a81834b63f5574c7f7231ad35271afc058;hp=5161dfed235810edc2d583cfaac2f2aba0d550f1;hpb=8871424239966323798a4ebd1c7d2c27ba830f1e;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 5161dfe..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>
· ↑ @@ -62,7 +84,7 @@ <%/if> <%/if> - <%if post.sone.current> + <%if post.sone.local> ·
@@ -82,6 +104,14 @@ +
+ +
+