Logo Search packages:      
Sourcecode: zope-coreblog version File versions

def zope-coreblog-1.0::COREBlog::COREBlog::validateCommentBody (   self,
  s 
)

Remove HTML tags for Comment.

Definition at line 1609 of file COREBlog.py.

01609                                    :
        """Remove HTML tags for Comment."""
        tags = []
        try:
            tag_prop = self.getProperty(COREBlog.comment_tags_id)
            tags = split(tag_prop,",")
        except:
            pass
        return validate_html(str(s),tags)


    #
    # misc. methods


Generated by  Doxygen 1.6.0   Back to index