* Handle ampersands properly on TiVo.
This commit is contained in:
parent
f04296de38
commit
58862a115f
@ -117,7 +117,7 @@ int callback(void *args, int argc, char **argv, char **azColName)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
sprintf(str_buf, "<Title>%s</Title>", title);
|
||||
sprintf(str_buf, "<Title>%s</Title>", modifyString(title, "&amp;", "&", 0));
|
||||
strcat(passed_args->resp, str_buf);
|
||||
if( artist ) {
|
||||
sprintf(str_buf, "<ArtistName>%s</ArtistName>", artist);
|
||||
@ -163,7 +163,7 @@ int callback(void *args, int argc, char **argv, char **azColName)
|
||||
"<SourceFormat>x-container/folder</SourceFormat>");
|
||||
sprintf(str_buf, "<Title>%s</Title>"
|
||||
"<TotalItems>%s</TotalItems>"
|
||||
"</Details>", title, result[1]);
|
||||
"</Details>", modifyString(title, "&amp;", "&", 0), result[1]);
|
||||
strcat(passed_args->resp, str_buf);
|
||||
|
||||
sprintf(str_buf, "<Links><Content>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user