diff libpurple/protocols/myspace/markup.c @ 19592:d6802883e96e

Treat status messages as the plaintext that they are. Specifically, strip markup on user-entered status text, and escape special characters on incoming status messages. Now status messages should be displayed correctly. Closes #2637.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Mon, 03 Sep 2007 05:16:36 +0000
parents 11c727b19201
children 941965d6fd88 191fa8a8c0bc
line wrap: on
line diff
--- a/libpurple/protocols/myspace/markup.c	Sun Sep 02 02:27:12 2007 +0000
+++ b/libpurple/protocols/myspace/markup.c	Mon Sep 03 05:16:36 2007 +0000
@@ -669,6 +669,8 @@
 
 /** High-level function to convert Purple (HTML) to MySpaceIM markup.
  *
+ * TODO: consider using purple_markup_html_to_xhtml() to make valid XML.
+ *
  * @return HTML markup string, must be g_free()'d. */
 gchar *
 html_to_msim_markup(MsimSession *session, const gchar *raw)