Mercurial > genshi > mirror
diff genshi/filters/html.py @ 576:b00765a115a5 trunk
Improve docs on `Stream.select()` for #135.
author | cmlenz |
---|---|
date | Mon, 23 Jul 2007 09:50:44 +0000 |
parents | f0461dc3939a |
children | 94f719af686d |
line wrap: on
line diff
--- a/genshi/filters/html.py +++ b/genshi/filters/html.py @@ -321,6 +321,7 @@ :param uri: the URI to check :return: `True` if the URI can be considered safe, `False` otherwise :rtype: `bool` + :since: version 0.4.3 """ if ':' not in uri: return True # This is a relative URI @@ -354,6 +355,7 @@ contain any character or numeric references :return: a list of declarations that are considered safe :rtype: `list` + :since: version 0.4.3 """ decls = [] text = self._strip_css_comments(self._replace_unicode_escapes(text))