diff options
author | default <nobody@localhost> | 2022-10-04 17:03:01 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-04 17:03:01 +0200 |
commit | 75408346f0e3ee3c6c6176665e8ce0d984f23d05 (patch) | |
tree | 877a40d38a2d8b622ceb57ca031e7df78c88e3ee | |
parent | f521285d753c38ec99f5e982cbabf871ac107936 (diff) |
Minor tweak to url regex.
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |