aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/misc.c b/lib/misc.c
index 1a8ceab0..9384ac4c 100644
--- a/lib/misc.c
+++ b/lib/misc.c
@@ -186,6 +186,10 @@ void strip_html(char *in)
*(s++) = '\x1f';
} else if (g_strncasecmp(cs + 1, "br", taglen) == 0) {
*(s++) = '\n';
+ } else if (g_strncasecmp(cs + 1, "br/", taglen) == 0) {
+ *(s++) = '\n';
+ } else if (g_strncasecmp(cs + 1, "br /", taglen) == 0) {
+ *(s++) = '\n';
}
in++;
} else {