python filters: htmlescape needs not be an RclExecM member

This commit is contained in:
Jean-Francois Dockes
2020-03-27 17:19:40 +01:00
parent d1c99e83d7
commit a88c0114b1
14 changed files with 47 additions and 41 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ class InfoExtractor:
return(False, "", "", True)
nodename, docdata = self.contents[index]
nodename = self.em.htmlescape(nodename)
docdata = self.em.htmlescape(docdata)
nodename = rclexecm.htmlescape(nodename)
docdata = rclexecm.htmlescape(docdata)
# strange whitespace to avoid changing the module tests (same as old)
docdata = b'\n<html>\n <head>\n <title>' + \
nodename + \