diff options
| author | default <nobody@localhost> | 2025-03-17 08:27:38 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-03-17 08:27:38 +0100 |
| commit | dd318eb6b26b6ca7eccca5bb6377058a87d60f1d (patch) | |
| tree | 4a8c2672774122c2dcc4193858f831d1ecc2412b /format.c | |
| parent | b5f0b4ba2d45165cc2a70ac5d35d545cb039749d (diff) | |
Reverted the usage of _ for italics (they are causing problems).
Diffstat (limited to 'format.c')
| -rw-r--r-- | format.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -95,7 +95,6 @@ static xs_str *format_line(const char *line, xs_list **attach) "~~[^~]+~~" "|" "\\*\\*?\\*?[^\\*]+\\*?\\*?\\*" "|" ":.+:" "|" //emotes - "_[^_]+_" "|" //anzu "__[^_]+__" "|" //anzu "!\\[[^]]+\\]\\([^\\)]+\\)" "|" "\\[[^]]+\\]\\([^\\)]+\\)" "|" @@ -139,12 +138,6 @@ static xs_str *format_line(const char *line, xs_list **attach) xs *s2 = xs_fmt("<u>%s</u>", s1); s = xs_str_cat(s, s2); } - else - if (xs_startswith(v, "_")) { - xs *s1 = xs_strip_chars_i(xs_dup(v), "_"); - xs *s2 = xs_fmt("<i>%s</i>", s1); - s = xs_str_cat(s, s2); - } //anzu - end else if (xs_startswith(v, "~~")) { |