mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 22:45:05 +00:00
Updated documentation.
This commit is contained in:
parent
278575c2aa
commit
1956c05ca4
2 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||||
|
|
2
format.c
2
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)
|
||||||
|
|
Loading…
Reference in a new issue