summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md6
-rw-r--r--html.c4
-rw-r--r--snac.h2
3 files changed, 9 insertions, 3 deletions
diff --git a/TODO.md b/TODO.md
index 740743f..d5a634f 100644
--- a/TODO.md
+++ b/TODO.md
@@ -16,6 +16,10 @@ The Mastodon official app crashes (or gives a ownVotes is null error) when tryin
16 16
17## Wishlist 17## Wishlist
18 18
19Implement account migration from Mastodon to snac.
20
21Implement account migration from snac to Mastodon.
22
19Track 'Event' data types standardization; how to add plan-to-attend and similar activities (more info: https://event-federation.eu/) 23Track 'Event' data types standardization; how to add plan-to-attend and similar activities (more info: https://event-federation.eu/)
20 24
21Implement "FEP-3b86: Activity Intents" https://codeberg.org/fediverse/fep/src/branch/main/fep/3b86/fep-3b86.md 25Implement "FEP-3b86: Activity Intents" https://codeberg.org/fediverse/fep/src/branch/main/fep/3b86/fep-3b86.md
@@ -24,8 +28,6 @@ Track "FEP-ef61: Portable Objects" https://codeberg.org/fediverse/fep/src/branch
24 28
25Integrate "Added handling for International Domain Names" PR https://codeberg.org/grunfink/snac2/pulls/104 29Integrate "Added handling for International Domain Names" PR https://codeberg.org/grunfink/snac2/pulls/104
26 30
27Consider adding Mastodon import functionality (for following_accounts.csv and outbox.json).
28
29Do something about Akkoma and Misskey's quoted replies (they use the `quoteUrl` field instead of `inReplyTo`). 31Do something about Akkoma and Misskey's quoted replies (they use the `quoteUrl` field instead of `inReplyTo`).
30 32
31Add support for /share?text=tt&website=url (whatever it is, see https://mastodonshare.com/ for details). 33Add support for /share?text=tt&website=url (whatever it is, see https://mastodonshare.com/ for details).
diff --git a/html.c b/html.c
index aced4ad..eec1760 100644
--- a/html.c
+++ b/html.c
@@ -1726,6 +1726,10 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
1726 content = ""; 1726 content = "";
1727 } 1727 }
1728 1728
1729 /* skip ugly line breaks at the beginning */
1730 while (xs_startswith(content, "<br>"))
1731 content += 4;
1732
1729 xs *c = sanitize(content); 1733 xs *c = sanitize(content);
1730 1734
1731 /* do some tweaks to the content */ 1735 /* do some tweaks to the content */
diff --git a/snac.h b/snac.h
index b0f38fe..e505a65 100644
--- a/snac.h
+++ b/snac.h
@@ -1,7 +1,7 @@
1/* snac - A simple, minimalistic ActivityPub instance */ 1/* snac - A simple, minimalistic ActivityPub instance */
2/* copyright (c) 2022 - 2024 grunfink et al. / MIT license */ 2/* copyright (c) 2022 - 2024 grunfink et al. / MIT license */
3 3
4#define VERSION "2.59-dev" 4#define VERSION "2.59"
5 5
6#define USER_AGENT "snac/" VERSION 6#define USER_AGENT "snac/" VERSION
7 7