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.
This commit is contained in:
Vincent Penquerc'h 2010-01-26 17:08:04 +00:00 committed by Tim-Philipp Müller
parent dfd5b4c99f
commit 334714bbc0

View file

@ -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);