aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authorOliver <zen@noreply.codeberg.org>2025-03-21 17:14:58 +0000
committerOliver <zen@noreply.codeberg.org>2025-03-21 17:14:58 +0000
commit83c8218f71a7d901609f10df6612bf457c30f35a (patch)
treea08b014ced2dd68b20e498195d4c2c6064225dab /format.c
parentc9a6cb8bb0047a1976e390bb1f3e09e58d70b9f5 (diff)
parentd68d2f51df95dde970fbc8972c49276c52d5a7d6 (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.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)
"`[^`]+`" "|"
"~~[^~]+~~" "|"
"\\*\\*?\\*?[^\\*]+\\*?\\*?\\*" "|"
- "_[^_]+_" "|" //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, "~~")) {