Index: samplefilter.php =================================================================== RCS file: /home/groups/miniproj/cvs-root/htmlfilter/samplefilter.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- samplefilter.php 6 Oct 2003 01:56:50 -0000 1.2 +++ samplefilter.php 30 Jun 2005 18:02:57 -0000 1.3 @@ -75,7 +75,8 @@ 'embed', 'head', 'frameset', - 'xml' + 'xml', + 'xmp' ); $self_closing_tags = Array( Index: htmlfilter.inc =================================================================== RCS file: /home/groups/miniproj/cvs-root/htmlfilter/htmlfilter.inc,v retrieving revision 1.4 retrieving revision 1.6 diff -u -r1.4 -r1.6 --- htmlfilter.inc 27 Jan 2004 19:57:59 -0000 1.4 +++ htmlfilter.inc 30 Jun 2005 18:06:08 -0000 1.6 @@ -8,23 +8,23 @@ * * Copyright (C) 2002-2004 by Duke University * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA * * @Author Konstantin Riabitsev - * @Version 1.1 ($Date: 2004/01/27 19:57:59 $) + * @Version 1.1 ($Date: 2005/06/30 18:06:08 $) */ /** @@ -588,7 +588,7 @@ if (strcspn($attvalue, "\t\r\n\0 ") != strlen($attvalue)){ spew("$me: Killing whitespace.\n"); $attvalue = str_replace(Array("\t", "\r", "\n", "\0", " "), - Array('', '', ''), $attvalue); + Array('', '', '', '', ''), $attvalue); } spew("$me: after unspace: $attvalue\n"); }