commit 1956c05
default
·
2023-03-08 03:47:57 +0000 UTC
parent 278575c
Updated documentation.
2 files changed,
+4,
-2
M
format.c
+3,
-1
1@@ -59,7 +59,7 @@ converted to related emojis:
2 All HTML tags in entries are neutered except the following ones:
3 .Bd -literal
4 a p br blockquote ul li
5-span i b pre code em strong
6+span i b u pre code em strong
7 .Ed
8 .Pp
9 .Ss Disk Layout
10@@ -75,6 +75,8 @@ Directory holding user subdirectories.
11 Directory holding the ActivityPub objects. Filenames are hashes of each
12 message Id, stored in subdirectories starting with the first two letters
13 of the hash.
14+.It Pa inbox/
15+Directory storing collected inbox URLs from other instances.
16 .It Pa archive/
17 If this directory exists, all input and output messages are logged inside it,
18 including HTTP headers. Only useful for debugging. May grow to enormous sizes.
M
format.c
+1,
-1
1@@ -169,7 +169,7 @@ d_char *not_really_markdown(const char *content)
2
3 const char *valid_tags[] = {
4 "a", "p", "br", "br/", "blockquote", "ul", "li",
5- "span", "i", "b", "pre", "code", "em", "strong", NULL
6+ "span", "i", "b", "u", "pre", "code", "em", "strong", NULL
7 };
8
9 d_char *sanitize(const char *content)