Make extractBody not terminate prematurely on first </body>.
commitba9fd175d707a91ae3768bcc13e47f190edcb833
authorEdward Z. Yang <ezyang@mit.edu>
Wed, 8 Jul 2009 02:19:04 +0000 (7 22:19 -0400)
committerEdward Z. Yang <ezyang@mit.edu>
Wed, 8 Jul 2009 02:19:04 +0000 (7 22:19 -0400)
tree0d55c00cb878401fff93fd2a0afd0228c0c954ac
parent4d27906b02c754c52207b3cde6de106ed0dec65a
Make extractBody not terminate prematurely on first </body>.

Previously, if two </body> tags were present, HTML Purifier
would truncate everything after the first </body>.  This is
not ideal behavior; so HTML Purifier has been changed to
match up to the last </body>.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
NEWS
library/HTMLPurifier/Lexer.php
tests/HTMLPurifier/LexerTest.php