mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Strip html only for html encoded entries
SVN revision: 2442
This commit is contained in:
parent
92c0131b92
commit
eb7ece1803
@ -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,
|
/* only show text, not to rip apart HTML documents,
|
||||||
e.g. only the start of a table */
|
e.g. only the start of a table */
|
||||||
strip_html(str);
|
if (strieq(encoding, "HTML"))
|
||||||
|
strip_html(str);
|
||||||
if (str[0])
|
if (str[0])
|
||||||
strencode_nouml(str);
|
strencode_nouml(str);
|
||||||
else
|
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,
|
/* only show text, not to rip apart HTML documents,
|
||||||
e.g. only the start of a table */
|
e.g. only the start of a table */
|
||||||
strip_html(str);
|
if (strieq(encoding, "HTML"))
|
||||||
|
strip_html(str);
|
||||||
if (str[0])
|
if (str[0])
|
||||||
strencode_nouml(str);
|
strencode_nouml(str);
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user