Strip html only for html encoded entries

SVN revision: 2442
This commit is contained in:
2012-03-14 15:03:40 +00:00
parent 92c0131b92
commit eb7ece1803
+4 -2
View File
@@ -17514,7 +17514,8 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp
/* only show text, not to rip apart HTML documents,
e.g. only the start of a table */
strip_html(str);
if (strieq(encoding, "HTML"))
strip_html(str);
if (str[0])
strencode_nouml(str);
else
@@ -17565,7 +17566,8 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp
/* only show text, not to rip apart HTML documents,
e.g. only the start of a table */
strip_html(str);
if (strieq(encoding, "HTML"))
strip_html(str);
if (str[0])
strencode_nouml(str);
else