note 80618 added to function.strip-tags

From: Date: Fri, 25 Jan 2008 12:02:11 +0000
Subject: note 80618 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-135398@lists.php.net to get a copy of this message
Please note: in the code given by y5, Tony Freeman, tREXX [www.trexx.ch] and maybe others, you need to use the modifier "s" at the end of the preg_replace()'s regex (/ies) in order to strip attributes that have a line break before them, otherwise those attributes wont be stripped. ---- Server IP: 200.36.127.20 Probable Submitter: 200.64.239.206 ---- Manual Page -- http://www.php.net/manual/en/function.strip-tags.php Edit -- https://master.php.net/note/edit/80618 Del: integrated -- https://master.php.net/note/delete/80618/integrated Del: useless -- https://master.php.net/note/delete/80618/useless Del: bad code -- https://master.php.net/note/delete/80618/bad+code Del: spam -- https://master.php.net/note/delete/80618/spam Del: non-english -- https://master.php.net/note/delete/80618/non-english Del: in docs -- https://master.php.net/note/delete/80618/in+docs Del: other reasons-- https://master.php.net/note/delete/80618 Reject -- https://master.php.net/note/reject/80618 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135398) next »