summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2023-03-08 04:47:57 +0100
committerGravatar default2023-03-08 04:47:57 +0100
commit1956c05ca495324e4cf44a80f59e56d9ef994269 (patch)
treebb89dc0987bbba263c7d38a6610311f87f95d42e
parentBackport from xs. (diff)
downloadsnac2-1956c05ca495324e4cf44a80f59e56d9ef994269.tar.gz
snac2-1956c05ca495324e4cf44a80f59e56d9ef994269.tar.xz
snac2-1956c05ca495324e4cf44a80f59e56d9ef994269.zip
Updated documentation.
-rw-r--r--doc/snac.54
-rw-r--r--format.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/snac.5 b/doc/snac.5
index 0046a90..1b32590 100644
--- a/doc/snac.5
+++ b/doc/snac.5
@@ -59,7 +59,7 @@ converted to related emojis:
59All HTML tags in entries are neutered except the following ones: 59All HTML tags in entries are neutered except the following ones:
60.Bd -literal 60.Bd -literal
61a p br blockquote ul li 61a p br blockquote ul li
62span i b pre code em strong 62span i b u pre code em strong
63.Ed 63.Ed
64.Pp 64.Pp
65.Ss Disk Layout 65.Ss Disk Layout
@@ -75,6 +75,8 @@ Directory holding user subdirectories.
75Directory holding the ActivityPub objects. Filenames are hashes of each 75Directory holding the ActivityPub objects. Filenames are hashes of each
76message Id, stored in subdirectories starting with the first two letters 76message Id, stored in subdirectories starting with the first two letters
77of the hash. 77of the hash.
78.It Pa inbox/
79Directory storing collected inbox URLs from other instances.
78.It Pa archive/ 80.It Pa archive/
79If this directory exists, all input and output messages are logged inside it, 81If this directory exists, all input and output messages are logged inside it,
80including HTTP headers. Only useful for debugging. May grow to enormous sizes. 82including HTTP headers. Only useful for debugging. May grow to enormous sizes.
diff --git a/format.c b/format.c
index 3763e65..b62cd50 100644
--- a/format.c
+++ b/format.c
@@ -169,7 +169,7 @@ d_char *not_really_markdown(const char *content)
169 169
170const char *valid_tags[] = { 170const char *valid_tags[] = {
171 "a", "p", "br", "br/", "blockquote", "ul", "li", 171 "a", "p", "br", "br/", "blockquote", "ul", "li",
172 "span", "i", "b", "pre", "code", "em", "strong", NULL 172 "span", "i", "b", "u", "pre", "code", "em", "strong", NULL
173}; 173};
174 174
175d_char *sanitize(const char *content) 175d_char *sanitize(const char *content)