From 0735b01dd9ab63417b1e9ee204d6090257cb8dbe Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Thu, 19 Jan 2012 06:30:23 -0500 Subject: Inline html is now escaped by the searializer. Final fix to issue introduced in fix for #59. Weird stuff inside angle brackets now also work in safe_mode='escape'. We just did the same thing as with block html, let the (x)html searializer do the escaping. Tests updated including the standalone test moved to match the non-escape cases. --- tests/safe_mode/inline-html-simple.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/safe_mode/inline-html-simple.html') diff --git a/tests/safe_mode/inline-html-simple.html b/tests/safe_mode/inline-html-simple.html index aca9af0..981c3a2 100644 --- a/tests/safe_mode/inline-html-simple.html +++ b/tests/safe_mode/inline-html-simple.html @@ -43,6 +43,7 @@ Blah

<hr/>

<hr />

-

<hr class="foo" id="bar" />

-

<hr class="foo" id="bar"/>

-

<hr class="foo" id="bar" >

\ No newline at end of file +

<hr class="foo" id="bar" />

+

<hr class="foo" id="bar"/>

+

<hr class="foo" id="bar" >

+

<some weird stuff>

\ No newline at end of file -- cgit v1.2.3