mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 21:35:04 +00:00
Minor tweak to url regex.
This commit is contained in:
parent
f521285d75
commit
75408346f0
1 changed files with 1 additions and 1 deletions
2
html.c
2
html.c
|
@ -25,7 +25,7 @@ d_char *not_really_markdown(char *content, d_char **f_content)
|
||||||
{
|
{
|
||||||
/* split by special markup */
|
/* split by special markup */
|
||||||
xs *sm = xs_regex_split(content,
|
xs *sm = xs_regex_split(content,
|
||||||
"(`[^`]+`|\\*\\*?[^\\*]+\\*?\\*|https?:/" "/[^ ]*)");
|
"(`[^`]+`|\\*\\*?[^\\*]+\\*?\\*|https?:/" "/[^[:space:]]+)");
|
||||||
int n = 0;
|
int n = 0;
|
||||||
|
|
||||||
p = sm;
|
p = sm;
|
||||||
|
|
Loading…
Reference in a new issue