Minor tweak to url regex.

This commit is contained in:
default 2022-10-04 17:03:01 +02:00
parent f521285d75
commit 75408346f0

2
html.c
View file

@ -25,7 +25,7 @@ d_char *not_really_markdown(char *content, d_char **f_content)
{
/* split by special markup */
xs *sm = xs_regex_split(content,
"(`[^`]+`|\\*\\*?[^\\*]+\\*?\\*|https?:/" "/[^ ]*)");
"(`[^`]+`|\\*\\*?[^\\*]+\\*?\\*|https?:/" "/[^[:space:]]+)");
int n = 0;
p = sm;