▲ | ratorx 9 days ago | |||||||
Does it make it easier? The “escape” for both is to just use unsafe version of the Template -> string function or explicitly mark an unsafe string as sanitised. Both seem similar in (un)safety | ||||||||
▲ | davepeck 9 days ago | parent [-] | |||||||
> the Template -> string function There is no such function; Template.__str__() returns Template.__repr__() which is very unlikely to be useful. You pretty much have to process your Template instance in some way before converting to a string. | ||||||||
|