From 2c2320facaf5524955f5a2c8c6b789fc203d795b Mon Sep 17 00:00:00 2001
From: William McBrine
')
elif plugin_type and t.shares:
plugin = GetPlugin(plugin_type)
@@ -367,8 +367,7 @@ class TivoHTTPHandler(BaseHTTPServer.BaseHTTPRequestHandler):
self.send_html(str(t))
def unsupported(self, query):
- message = UNSUP % '\n'.join(['
#if 'Url' in $row and not ($row['Url'] in $status and ($status[$row['Url']]['running'] or $status[$row['Url']]['queued'])) and not ('CopyProtected' in $row and $row['CopyProtected'] == 'Yes') and not ('Icon' in $row and $row['Icon'] == 'urn:tivo:image:in-progress-recording') - + #end if | @@ -66,12 +66,12 @@ Pull from $escape($tname) |
#if 'episodeTitle' in $row
- $escape($row['title']): $escape($row['episodeTitle'])
+ $row['title']: $row['episodeTitle']
#else
- $escape($row['title'])
+ $row['title']
#end if
#if 'description' in $row
- $escape($row['description'])
+ $row['description']
#end if
#if 'displayMajorNumber' in $row and 'callsign' in $row
$row['displayMajorNumber'] $row['callsign']
diff --git a/plugins/togo/togo.py b/plugins/togo/togo.py
index a7d66f8..a68c2e7 100644
--- a/plugins/togo/togo.py
+++ b/plugins/togo/togo.py
@@ -8,7 +8,6 @@ import urllib2
import urlparse
from urllib import quote, unquote
from xml.dom import minidom
-from xml.sax.saxutils import escape
from Cheetah.Template import Template
@@ -211,7 +210,6 @@ class ToGo(Plugin):
title = ''
t = Template(NPL_TEMPLATE, filter=EncodeUnicode)
- t.escape = escape
t.quote = quote
t.folder = folder
t.status = status
diff --git a/plugins/video/templates/container_html.tmpl b/plugins/video/templates/container_html.tmpl
index 37ae2d2..3784fff 100644
--- a/plugins/video/templates/container_html.tmpl
+++ b/plugins/video/templates/container_html.tmpl
@@ -13,7 +13,7 @@
#if len($folders) > 1
#end if
-Push from $escape($folders[0])
+Push from $folders[0]
#if len($folders) > 1
#if len($folders) > 2
@@ -22,7 +22,7 @@ Push from $escape($folders[0])
/ $n
#end for
#end if
-/ $escape($folders[-1])
+/ $folders[-1]
#end if
- + -- 2.11.4.GIT |