aboutsummaryrefslogtreecommitdiff
path: root/static/posts.html
diff options
context:
space:
mode:
authorFChannel <>2021-07-23 22:45:44 -0700
committerFChannel <>2021-07-23 22:45:44 -0700
commit8f7386f2906716d40099fb50f029d48796dd1bbd (patch)
tree790b290434220a94e384eb8970d26dea1967e6f9 /static/posts.html
parentc5eff11c39d0a07f5cb7401835d04ba4df9edcbf (diff)
added cross post support. could blow up if referencing a link that is not local to the database or cache.
Diffstat (limited to 'static/posts.html')
-rw-r--r--static/posts.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/static/posts.html b/static/posts.html
index d7f46b9..5810348 100644
--- a/static/posts.html
+++ b/static/posts.html
@@ -101,10 +101,6 @@
{{ if .Replies.OrderedItems }}
{{ range .Replies.OrderedItems }}
<span id="{{$parentId}}-replyto-{{.Id}}"></span>
- <script>
- var content = convertContentNoLink('{{$board.Actor.Id}}', '{{ .Content }}', '{{ $opId }}')
- document.getElementById("{{ $parentId }}-replyto-{{.Id}}").innerHTML = "<a title='" + content +"' href='/{{ $board.Name }}/" + shortURL("{{ $board.Actor.Id }}", "{{ $opId }}") + "#" + shortURL("{{ $board.Actor.Id }}", "{{ .Id }}") + "'>>>" + shortURL("{{ $board.Actor.Id }}", "{{ .Id }}") + "</a>";
- </script>
{{ end }}
{{ end }}
<p id="{{ .Id }}-content" style="white-space: pre-wrap; margin: 10px 30px 10px 30px;">{{.ContentHTML}}</p>