commit 7be200e62e4ea1debbbec0c17fd0c41cc1946648
parent 0e4799d581d30ddf0966792a1838c621c9a81340
Author: Paul <paul@claws-mail.org>
Date: Tue, 21 Oct 2014 11:55:42 +0100
fix bug 3306, 'HTML tag </b> is not always rendered in error dialog'
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/plugins/rssyl/rssyl_update_feed.c b/src/plugins/rssyl/rssyl_update_feed.c
@@ -119,9 +119,9 @@ void rssyl_fetch_feed(RFetchCtx *ctx, gboolean verbose)
/* libcurl wasn't happy */
debug_print("RSSyl: Error: %s\n", ctx->error);
if( verbose )
- alertpanel_error(C_("First parameter is URL, second is error text",
+ alertpanel_error(g_markup_printf_escaped(C_("First parameter is URL, second is error text",
"Error fetching feed at\n<b>%s</b>:\n\n%s"),
- feed_get_url(ctx->feed), ctx->error);
+ feed_get_url(ctx->feed), ctx->error));
log_error(LOG_PROTOCOL, RSSYL_LOG_ERROR_FETCH, ctx->feed->url, ctx->error);
@@ -131,8 +131,8 @@ void rssyl_fetch_feed(RFetchCtx *ctx, gboolean verbose)
/* libcurl was happy, but libfeed wasn't */
debug_print("RSSyl: Error reading feed\n");
if( verbose )
- alertpanel_error(_("No valid feed found at\n<b>%s</b>"),
- feed_get_url(ctx->feed));
+ alertpanel_error(g_markup_printf_escaped(_("No valid feed found at\n<b>%s</b>"),
+ feed_get_url(ctx->feed)));
log_error(LOG_PROTOCOL, RSSYL_LOG_ERROR_NOFEED,
feed_get_url(ctx->feed));