On 2/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Yes, I know I could use 'py:content', and this works in each case as > far as I can tell. I'm not even sure I would ever need to use > 'py:replace', I was just testing possibilities. And you're right - > after wrapping the content passed from the controller in the XML() > function it works every time. Thanks. Still, I think Kid's behaviour is > inconsistent - replacing <h1> with an escaped string yields an HTML > document that sems to me no more invalid than in the case of replacing > <span>. Perhaps I'm missing something with respect to the structure > generated in each case, but I can't see what it could be.
I agree with you there. I have no idea why the <span> behaved differently than the <h1>. Kevin

