diff options
| author | 2022-10-04 17:03:01 +0200 | |
|---|---|---|
| committer | 2022-10-04 17:03:01 +0200 | |
| commit | 75408346f0e3ee3c6c6176665e8ce0d984f23d05 (patch) | |
| tree | 877a40d38a2d8b622ceb57ca031e7df78c88e3ee | |
| parent | Ensure the login information is null-terminated. (diff) | |
| download | penes-snac2-75408346f0e3ee3c6c6176665e8ce0d984f23d05.tar.gz penes-snac2-75408346f0e3ee3c6c6176665e8ce0d984f23d05.tar.xz penes-snac2-75408346f0e3ee3c6c6176665e8ce0d984f23d05.zip | |
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) | |||
| 25 | { | 25 | { |
| 26 | /* split by special markup */ | 26 | /* split by special markup */ |
| 27 | xs *sm = xs_regex_split(content, | 27 | xs *sm = xs_regex_split(content, |
| 28 | "(`[^`]+`|\\*\\*?[^\\*]+\\*?\\*|https?:/" "/[^ ]*)"); | 28 | "(`[^`]+`|\\*\\*?[^\\*]+\\*?\\*|https?:/" "/[^[:space:]]+)"); |
| 29 | int n = 0; | 29 | int n = 0; |
| 30 | 30 | ||
| 31 | p = sm; | 31 | p = sm; |