Skip to content

Commit

Permalink
Fixes an issue when the subtitle has a newline.
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Smith <kormoc@mythtv.org>
  • Loading branch information
bas-t authored and kormoc committed Mar 25, 2013
1 parent 223ba1b commit 2a6c238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tv/tmpl/default/recorded.php
Expand Up @@ -297,7 +297,7 @@
?>
file = new Object();
file.title = '<?php echo addslashes($show->title) ?>';
file.subtitle = '<?php echo addslashes($show->subtitle) ?>';
file.subtitle = '<?php echo str_replace("\n", '', nl2br(addslashes($show->subtitle))) ?>';
file.chanid = '<?php echo addslashes($show->chanid) ?>';
file.starttime = '<?php echo addslashes($show->recstartts) ?>';
file.recgroup = '<?php echo addslashes(str_replace('%2F', '/', rawurlencode($show->recgroup))) ?>';
Expand Down

0 comments on commit 2a6c238

Please sign in to comment.