diff options
| author | 2023-03-08 04:47:57 +0100 | |
|---|---|---|
| committer | 2023-03-08 04:47:57 +0100 | |
| commit | 1956c05ca495324e4cf44a80f59e56d9ef994269 (patch) | |
| tree | bb89dc0987bbba263c7d38a6610311f87f95d42e | |
| parent | Backport from xs. (diff) | |
| download | snac2-1956c05ca495324e4cf44a80f59e56d9ef994269.tar.gz snac2-1956c05ca495324e4cf44a80f59e56d9ef994269.tar.xz snac2-1956c05ca495324e4cf44a80f59e56d9ef994269.zip | |
Updated documentation.
| -rw-r--r-- | doc/snac.5 | 4 | ||||
| -rw-r--r-- | format.c | 2 |
2 files changed, 4 insertions, 2 deletions
| @@ -59,7 +59,7 @@ converted to related emojis: | |||
| 59 | All HTML tags in entries are neutered except the following ones: | 59 | All HTML tags in entries are neutered except the following ones: |
| 60 | .Bd -literal | 60 | .Bd -literal |
| 61 | a p br blockquote ul li | 61 | a p br blockquote ul li |
| 62 | span i b pre code em strong | 62 | span 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. | |||
| 75 | Directory holding the ActivityPub objects. Filenames are hashes of each | 75 | Directory holding the ActivityPub objects. Filenames are hashes of each |
| 76 | message Id, stored in subdirectories starting with the first two letters | 76 | message Id, stored in subdirectories starting with the first two letters |
| 77 | of the hash. | 77 | of the hash. |
| 78 | .It Pa inbox/ | ||
| 79 | Directory storing collected inbox URLs from other instances. | ||
| 78 | .It Pa archive/ | 80 | .It Pa archive/ |
| 79 | If this directory exists, all input and output messages are logged inside it, | 81 | If this directory exists, all input and output messages are logged inside it, |
| 80 | including HTTP headers. Only useful for debugging. May grow to enormous sizes. | 82 | including HTTP headers. Only useful for debugging. May grow to enormous sizes. |
| @@ -169,7 +169,7 @@ d_char *not_really_markdown(const char *content) | |||
| 169 | 169 | ||
| 170 | const char *valid_tags[] = { | 170 | const 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 | ||
| 175 | d_char *sanitize(const char *content) | 175 | d_char *sanitize(const char *content) |