X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4600d458d4541122d44c504311105c9378e28b84;hb=9bb096a81834b63f5574c7f7231ad35271afc058;hp=30ffe25602a066dfb0cf8d99d0964c37f8756d0c;hpb=9b7ba90c05e6926099fa68e58227bb536068ff8c;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 30ffe25..4600d45 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -16,7 +16,10 @@ <%/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>
@@ -35,6 +38,10 @@
·
<% post.time|date format="MMM d, yyyy, HH:mm:ss">
+ <%if ! originalText|match key=parsedText> + · +
<%= View.Post.ShowSource|l10n|html>
+ <%/if>
· ↑