Browse Source

Updated documentation.

default 2 years ago
parent
commit
1956c05ca4
2 changed files with 4 additions and 2 deletions
  1. 3 1
      doc/snac.5
  2. 1 1
      format.c

+ 3 - 1
doc/snac.5

@@ -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.

+ 1 - 1
format.c

@@ -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)