summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorGravatar shtrophic2025-03-20 22:54:56 +0100
committerGravatar shtrophic2025-03-20 22:54:56 +0100
commit0aeebc177f7f40cd583c65a085c51a9398995135 (patch)
tree7d4c79b675b612ffd16b645f2014dfc9c231c25c /format.c
parentMerge remote-tracking branch 'upstream/master' into curl-smtp (diff)
parentVersion 2.74 RELEASED. (diff)
downloadsnac2-0aeebc177f7f40cd583c65a085c51a9398995135.tar.gz
snac2-0aeebc177f7f40cd583c65a085c51a9398995135.tar.xz
snac2-0aeebc177f7f40cd583c65a085c51a9398995135.zip
Merge tag '2.74' into curl-smtp
Version 2.74 RELEASED.
Diffstat (limited to 'format.c')
-rw-r--r--format.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/format.c b/format.c
index 755aeb2..b2b585d 100644
--- a/format.c
+++ b/format.c
@@ -94,7 +94,6 @@ static xs_str *format_line(const char *line, xs_list **attach)
94 "`[^`]+`" "|" 94 "`[^`]+`" "|"
95 "~~[^~]+~~" "|" 95 "~~[^~]+~~" "|"
96 "\\*\\*?\\*?[^\\*]+\\*?\\*?\\*" "|" 96 "\\*\\*?\\*?[^\\*]+\\*?\\*?\\*" "|"
97 "_[^_]+_" "|" //anzu
98 "__[^_]+__" "|" //anzu 97 "__[^_]+__" "|" //anzu
99 "!\\[[^]]+\\]\\([^\\)]+\\)" "|" 98 "!\\[[^]]+\\]\\([^\\)]+\\)" "|"
100 "\\[[^]]+\\]\\([^\\)]+\\)" "|" 99 "\\[[^]]+\\]\\([^\\)]+\\)" "|"
@@ -138,12 +137,6 @@ static xs_str *format_line(const char *line, xs_list **attach)
138 xs *s2 = xs_fmt("<u>%s</u>", s1); 137 xs *s2 = xs_fmt("<u>%s</u>", s1);
139 s = xs_str_cat(s, s2); 138 s = xs_str_cat(s, s2);
140 } 139 }
141 else
142 if (xs_startswith(v, "_")) {
143 xs *s1 = xs_strip_chars_i(xs_dup(v), "_");
144 xs *s2 = xs_fmt("<i>%s</i>", s1);
145 s = xs_str_cat(s, s2);
146 }
147 //anzu - end 140 //anzu - end
148 else 141 else
149 if (xs_startswith(v, "~~")) { 142 if (xs_startswith(v, "~~")) {