I don't know about the rest of you but I feel like the discussion is heading off the rails (if it hasn't already jumped the tracks). Let's try to bring this back around to something actionable which ...
def html(t_str): final = "" for item in template: match item: case str() as s: final += s case Interpolation() as i: final += sanitise(i) return final evil = "[script ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results