diff --git a/tivo_commands.c b/tivo_commands.c
index f47ce75..8fff1bd 100644
--- a/tivo_commands.c
+++ b/tivo_commands.c
@@ -117,7 +117,7 @@ int callback(void *args, int argc, char **argv, char **azColName)
{
return 0;
}
- sprintf(str_buf, "
%s", title);
+ sprintf(str_buf, "%s", modifyString(title, "&", "&", 0));
strcat(passed_args->resp, str_buf);
if( artist ) {
sprintf(str_buf, "%s", artist);
@@ -163,7 +163,7 @@ int callback(void *args, int argc, char **argv, char **azColName)
"x-container/folder");
sprintf(str_buf, "%s"
"%s"
- "", title, result[1]);
+ "", modifyString(title, "&", "&", 0), result[1]);
strcat(passed_args->resp, str_buf);
sprintf(str_buf, ""