Allow hash links in safe mode
This commit is contained in:
parent
c7af7d235a
commit
b77fe624a9
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@
|
|||
int
|
||||
hoedown_autolink_is_safe(const uint8_t *link, size_t link_len)
|
||||
{
|
||||
static const size_t valid_uris_count = 5;
|
||||
static const size_t valid_uris_count = 6;
|
||||
static const char *valid_uris[] = {
|
||||
"/", "http://", "https://", "ftp://", "mailto:"
|
||||
"#", "/", "http://", "https://", "ftp://", "mailto:"
|
||||
};
|
||||
|
||||
size_t i;
|
||||
|
|
Loading…
Reference in a new issue