diff options
| author | Oliver <zen@noreply.codeberg.org> | 2025-03-21 17:14:58 +0000 |
|---|---|---|
| committer | Oliver <zen@noreply.codeberg.org> | 2025-03-21 17:14:58 +0000 |
| commit | 83c8218f71a7d901609f10df6612bf457c30f35a (patch) | |
| tree | a08b014ced2dd68b20e498195d4c2c6064225dab /format.c | |
| parent | c9a6cb8bb0047a1976e390bb1f3e09e58d70b9f5 (diff) | |
| parent | d68d2f51df95dde970fbc8972c49276c52d5a7d6 (diff) | |
Merge pull request 'v2.74' (#4) from grunfink/snac2:master into master
Reviewed-on: https://codeberg.org/zen/snac2/pulls/4
Diffstat (limited to 'format.c')
| -rw-r--r-- | format.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -94,7 +94,6 @@ static xs_str *format_line(const char *line, xs_list **attach) "`[^`]+`" "|" "~~[^~]+~~" "|" "\\*\\*?\\*?[^\\*]+\\*?\\*?\\*" "|" - "_[^_]+_" "|" //anzu "__[^_]+__" "|" //anzu "!\\[[^]]+\\]\\([^\\)]+\\)" "|" "\\[[^]]+\\]\\([^\\)]+\\)" "|" @@ -138,12 +137,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, "~~")) { |