コード例 #1
0
ファイル: plugins.py プロジェクト: biggers/localwiki
 def sanitize(self, html):
     return sanitize_html_fragment(html, self.allowed_tags,
         self.allowed_attributes, self.allowed_styles_map)
コード例 #2
0
 def sanitize(self, html):
     return sanitize_html_fragment(html, self.allowed_tags,
                                   self.allowed_attributes,
                                   self.allowed_styles_map)