Re: Mysterious />

From: Date: Sat, 19 Jan 2002 00:34:58 +0000
Subject: Re: Mysterious />
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-81177@lists.php.net to get a copy of this message
Those are real examples. The /> gets appended when I use preg_replace and/or str_replace, as far as I can determine. And it's not every time. I'll try to replicate it. I've been working with code to strip it out and I need to get back to point zero. If I can get the code back, I will post it. -- Gaylen gfraley5@earthlink.net Home http://www.gaylenandmargie.com/ PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "James Cox" <imajes@php.net> wrote in message news:MMEPJPGPACDMPGEEKFMKMEDBCOAA.imajes@php.net... > can you give an example? > > eg, <br /> is XHTML correct, however </a> /> isn't correct at all :) > > Thanks, > > James Cox > -- > James Cox :: imajes@php.net > Please CC me when replying to my messages on lists. > Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ > > > -----Original Message----- > > From: Gaylen Fraley [mailto:gfraley5@earthlink.net] > > Sent: Friday, January 18, 2002 10:49 PM > > To: php-general@lists.php.net > > Subject: [PHP] Mysterious /> > > > > > > For some (yet) unknown reason, when some text is being entered > > into a form, > > a mysterious /> is being appended. It's almost as if some XML > > functionality > > is bein added w/o my intention. For example, I might echo "<br>" and the > > html source will show <br />. I might have an end anchor tag </a> that > > comes out </a> />. > > > > Any clues? > > > > -- > > Gaylen > > gfraley5@earthlink.net > > Home http://www.gaylenandmargie.com/ > > PHP KISGB v3.1 Guest Book > > http://www.gaylenandmargie.com/phpwebsite/ > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > >

« previous php.general (#81177) next »