default пре 3 година
родитељ
комит
1956c05ca4
2 измењених фајлова са 4 додато и 2 уклоњено
  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:
 All HTML tags in entries are neutered except the following ones:
 .Bd -literal
 .Bd -literal
 a p br blockquote ul li
 a p br blockquote ul li
-span i b pre code em strong
+span i b u pre code em strong
 .Ed
 .Ed
 .Pp
 .Pp
 .Ss Disk Layout
 .Ss Disk Layout
@@ -75,6 +75,8 @@ Directory holding user subdirectories.
 Directory holding the ActivityPub objects. Filenames are hashes of each
 Directory holding the ActivityPub objects. Filenames are hashes of each
 message Id, stored in subdirectories starting with the first two letters
 message Id, stored in subdirectories starting with the first two letters
 of the hash.
 of the hash.
+.It Pa inbox/
+Directory storing collected inbox URLs from other instances.
 .It Pa archive/
 .It Pa archive/
 If this directory exists, all input and output messages are logged inside it,
 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.
 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[] = {
 const char *valid_tags[] = {
     "a", "p", "br", "br/", "blockquote", "ul", "li",
     "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)
 d_char *sanitize(const char *content)