about summary refs log tree commit diff
path: root/users/tazjin/tgsa/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/tgsa/src/main.rs')
-rw-r--r--users/tazjin/tgsa/src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/users/tazjin/tgsa/src/main.rs b/users/tazjin/tgsa/src/main.rs
index 14e2162f4df1..d4bce1e0bcd2 100644
--- a/users/tazjin/tgsa/src/main.rs
+++ b/users/tazjin/tgsa/src/main.rs
@@ -153,14 +153,14 @@ fn to_bbcode(link: &TgLink, msg: &TgMessage) -> String {
         out.push_str(message);
     }
 
+    out.push_str("\n[/quote]\n");
+
     out.push_str(&format!(
-        "\n\n[sub](from [url=\"{}\"]{}[/url], via [url=\"https://tgsa.tazj.in\"]tgsa[/url])[/sub]",
+        "[sub](from [url=\"{}\"]{}[/url], via [url=\"https://tgsa.tazj.in\"]tgsa[/url])[/sub]\n",
         link.to_url(),
         link.human_friendly_url(),
     ));
 
-    out.push_str("\n[/quote]\n");
-
     out
 }