Ah, so *that's* what .html_safe does! It so obvious when you know the answer... thanks again.