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 f6bf81e..b19a6e1 100644
--- a/format.c
+++ b/format.c
@@ -95,7 +95,6 @@ static xs_str *format_line(const char *line, xs_list **attach)
95 "~~[^~]+~~" "|" 95 "~~[^~]+~~" "|"
96 "\\*\\*?\\*?[^\\*]+\\*?\\*?\\*" "|" 96 "\\*\\*?\\*?[^\\*]+\\*?\\*?\\*" "|"
97 ":.+:" "|" //emotes 97 ":.+:" "|" //emotes
98 "_[^_]+_" "|" //anzu
99 "__[^_]+__" "|" //anzu 98 "__[^_]+__" "|" //anzu
100 "!\\[[^]]+\\]\\([^\\)]+\\)" "|" 99 "!\\[[^]]+\\]\\([^\\)]+\\)" "|"
101 "\\[[^]]+\\]\\([^\\)]+\\)" "|" 100 "\\[[^]]+\\]\\([^\\)]+\\)" "|"
@@ -139,12 +138,6 @@ static xs_str *format_line(const char *line, xs_list **attach)
139 xs *s2 = xs_fmt("<u>%s</u>", s1); 138 xs *s2 = xs_fmt("<u>%s</u>", s1);
140 s = xs_str_cat(s, s2); 139 s = xs_str_cat(s, s2);
141 } 140 }
142 else
143 if (xs_startswith(v, "_")) {
144 xs *s1 = xs_strip_chars_i(xs_dup(v), "_");
145 xs *s2 = xs_fmt("<i>%s</i>", s1);
146 s = xs_str_cat(s, s2);
147 }
148 //anzu - end 141 //anzu - end
149 else 142 else
150 if (xs_startswith(v, "~~")) { 143 if (xs_startswith(v, "~~")) {