Use markupsafe.escape directly