comparison markup/core.py @ 115:d4ea684655d9

Various fixes for breakage introduced in [132].
author cmlenz
date Tue, 01 Aug 2006 10:42:48 +0000
parents 8f53c3ad385c
children 88ac4c680120
comparison
equal deleted inserted replaced
114:8f53c3ad385c 115:d4ea684655d9
69 69
70 This method returns a new stream with the given filter applied. The 70 This method returns a new stream with the given filter applied. The
71 filter must be a callable that accepts the stream object as parameter, 71 filter must be a callable that accepts the stream object as parameter,
72 and returns the filtered stream. 72 and returns the filtered stream.
73 """ 73 """
74 return Stream(func(html)) 74 return Stream(func(self))
75 75
76 def render(self, method='xml', encoding='utf-8', filters=None, **kwargs): 76 def render(self, method='xml', encoding='utf-8', filters=None, **kwargs):
77 """Return a string representation of the stream. 77 """Return a string representation of the stream.
78 78
79 @param method: determines how the stream is serialized; can be either 79 @param method: determines how the stream is serialized; can be either
Copyright (C) 2012-2017 Edgewall Software