From 64388737f6cd8e357c9c0c336c412aefb9f3433b Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 5 Nov 2014 15:54:23 +0100 Subject: [PATCH] Fixed wrong quotes for inline styles --- src/elogd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index 58bf3134..fe88186b 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -17315,7 +17315,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp else sprintf(str, "Style %s %s", attr_list[i], attrib[i]); if (getcfg(lbs->name, str, display, sizeof(display))) { - sprintf(str, "%s\" style=\"%s\"", rowstyle, display); + sprintf(str, "%s\" style=\"%s", rowstyle, display); strlcpy(rowstyle, str, sizeof(rowstyle)); break; } @@ -17544,7 +17544,7 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode, int exp strlcpy(tdstyle, rowstyle, sizeof(tdstyle)); sprintf(str, "Cell Style %s %s", attr_list[i], attrib[i]); if (getcfg(lbs->name, str, display, sizeof(display))) { - sprintf(str, "%s\" style=\"%s\"", rowstyle, display); + sprintf(str, "%s\" style=\"%s", rowstyle, display); strlcpy(tdstyle, str, sizeof(rowstyle)); }