well, its up to teh API designer of course,
but i find the asymmetry of teh interface odd.
nevertheless, if it is our duty to encode before assigning,
what routine do we use?
On Aug 28, 2009, at 12:45 PM, Sean Chittenden wrote:
node.content returns a string, which is 'AT&T' iirc, you want to
node.content returns a string, which is 'AT&T' iirc, you want to
assign a node, not the content of a node. I believe it's quite
deliberate that it doesn't escape string input (try and construct an
HTML or RSS feed). It's easier to escape on assign than have a magic
escape in these situat