Updated documentation.

This commit is contained in:
default 2023-03-08 04:47:57 +01:00
parent 278575c2aa
commit 1956c05ca4
2 changed files with 4 additions and 2 deletions

View File

@ -59,7 +59,7 @@ converted to related emojis:
All HTML tags in entries are neutered except the following ones:
.Bd -literal
a p br blockquote ul li
span i b pre code em strong
span i b u pre code em strong
.Ed
.Pp
.Ss Disk Layout
@ -75,6 +75,8 @@ Directory holding user subdirectories.
Directory holding the ActivityPub objects. Filenames are hashes of each
message Id, stored in subdirectories starting with the first two letters
of the hash.
.It Pa inbox/
Directory storing collected inbox URLs from other instances.
.It Pa archive/
If this directory exists, all input and output messages are logged inside it,
including HTTP headers. Only useful for debugging. May grow to enormous sizes.

View File

@ -169,7 +169,7 @@ d_char *not_really_markdown(const char *content)
const char *valid_tags[] = {
"a", "p", "br", "br/", "blockquote", "ul", "li",
"span", "i", "b", "pre", "code", "em", "strong", NULL
"span", "i", "b", "u", "pre", "code", "em", "strong", NULL
};
d_char *sanitize(const char *content)