summaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
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, "~~")) {