{{.Content}}
+{{.ContentHTML}}
From 3b2c8a4c78ade9e819b61aa055039ae00e517a3e Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 22 Jul 2021 13:50:11 -0700 Subject: fixed quote bug and moved comment parsing server side without javascript --- static/posts.html | 35 ++++++----------------------------- 1 file changed, 6 insertions(+), 29 deletions(-) (limited to 'static/posts.html') diff --git a/static/posts.html b/static/posts.html index d16f780..7552188 100644 --- a/static/posts.html +++ b/static/posts.html @@ -7,7 +7,7 @@
{{.Content}}
+ {{ .Name }}{{ if .AttributedTo }} {{.AttributedTo }} {{ else }} Anonymous {{ end }} {{ .TripCode }} {{ .Published }} No. {{ short $board.Actor.Outbox .Id }} {{ if ne .Type "Tombstone" }}[Report]{{ end }} +{{.ContentHTML}}
{{ if .Replies }} {{ $replies := .Replies }} {{ if gt $replies.TotalItems 5 }} @@ -94,7 +93,7 @@ {{ end }} {{ end }} {{ range $replies.OrderedItems }} -{{.Content}}
+{{.ContentHTML}}
{{.ContentHTML}}
-- cgit v1.2.3 From 6846150cb48d080112981633d6dddabef5ce4439 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 25 Jul 2021 16:00:25 -0700 Subject: fixed bug with escaping html less than symbol for parsing content --- static/posts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/posts.html') diff --git a/static/posts.html b/static/posts.html index 5810348..17421af 100644 --- a/static/posts.html +++ b/static/posts.html @@ -54,7 +54,7 @@ {{ end }} {{ end }} {{ range $replies.OrderedItems }} -{{.ContentHTML}}
-- cgit v1.2.3