def _processRestrictedHTML(self, e): Logger.get('requestHandler').info( 'Request %s finished with ProcessRestrictedHTMLError: "%s"' % (id(self._req), e)) p = errors.WPRestrictedHTML(self, escape(str(e))) return p.display()
def _processHtmlForbiddenTag(self, e): """ TODO """ return errors.WPRestrictedHTML(self, escape(str(e))).display()
def _processRestrictedHTML(self, e): return errors.WPRestrictedHTML(self, escape(str(e))).display()