﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23831	mark_safe and mark_for_escaping should account for __html__	Aymeric Augustin	Aymeric Augustin	"The changes made #7261 aren't complete. They made it possible for other libraries to interpret strings marked explicitly as safe or unsafe in Django. However Django doesn't always interpret correctly strings marked by other libraries.

The reason is that mark_safe and mark_for_escaping don't account for `__html__`. As a consequence escaping information is lost once these functions get called, and they're called in many places.

Thanks mitsuhiko for the report."	Bug	closed	Utilities	1.7	Normal	fixed			Ready for checkin	1	0	0	0	0	0
