From 61dc9c47fd0d0d9696f6285385a35fd09a17251f Mon Sep 17 00:00:00 2001 From: Snakes Date: Sun, 4 Dec 2022 15:49:35 -0500 Subject: [PATCH] Restore showing linkpost URLs in submission body. --- files/templates/submission.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/files/templates/submission.html b/files/templates/submission.html index df6502864..beca7e983 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -108,6 +108,14 @@ {% if not v_forbid_deleted %}
+ {% if p.realurl(v) and not p.embed_url and not p.is_image and not p.is_video and not p.is_audio %} + +
+ {{p.realurl(v)}} + +
+
+ {% endif %} {% if p.embed_url %} {% if p.domain == "twitter.com" %} {{p.embed_url | safe}}