From 334714bbc0da207c66a6ff81dd50c57f669cfa13 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Tue, 26 Jan 2010 17:08:04 +0000 Subject: [PATCH] katedec: don't escape special characters Don't escape special characters, as we'll send the buffer as text/plain rather than text/x-pango-markup; this avoids e.g. quotes from appearing as " in the rendered subtitles. See bug #600929. --- ext/kate/gstkatedec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/kate/gstkatedec.c b/ext/kate/gstkatedec.c index eb4bb2ba27..ffae36543c 100644 --- a/ext/kate/gstkatedec.c +++ b/ext/kate/gstkatedec.c @@ -265,7 +265,7 @@ gst_kate_dec_chain (GstPad * pad, GstBuffer * buf) } else if (ev->text_markup_type == kate_markup_none) { /* no pango markup yet, escape text */ /* TODO: actually do the pango thing */ - escaped = g_markup_printf_escaped ("%s", ev->text); + escaped = g_strdup (ev->text); plain = TRUE; } else { escaped = g_strdup (ev->text);