summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-10-04 17:03:01 +0200
committerGravatar default2022-10-04 17:03:01 +0200
commit75408346f0e3ee3c6c6176665e8ce0d984f23d05 (patch)
tree877a40d38a2d8b622ceb57ca031e7df78c88e3ee
parentEnsure the login information is null-terminated. (diff)
downloadpenes-snac2-75408346f0e3ee3c6c6176665e8ce0d984f23d05.tar.gz
penes-snac2-75408346f0e3ee3c6c6176665e8ce0d984f23d05.tar.xz
penes-snac2-75408346f0e3ee3c6c6176665e8ce0d984f23d05.zip
Minor tweak to url regex.
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 3cf171e..894bbe6 100644
--- a/html.c
+++ b/html.c
@@ -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;