コード例 #1
0
ファイル: htmlwriter.py プロジェクト: superbaby11/autoOMC
 def _escape_content(self, content):
     return html_escape(unic(content))
 def content(self, content=None, escape=True):
     """Given content doesn't need to be a string"""
     if content is not None:
         if escape:
             content = html_escape(unic(content))
         self._write(content)
コード例 #3
0
ファイル: htmlwriter.py プロジェクト: superbaby11/autoOMC
 def _escape_content(self, content):
     return html_escape(unic(content))