Re: svn: /phpdoc/en/trunk/reference/errorfunc/functions/ trigger-error.xml

From: Date: Fri, 20 Nov 2009 20:31:22 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/errorfunc/functions/ trigger-error.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5524@lists.php.net to get a copy of this message
On Fri, Nov 20, 2009 at 21:28, Christopher Jones <sixd@php.net> wrote: > sixd                                     Fri, 20 Nov 2009 20:28:06 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=291098 > > Log: > Add warning based on #php.doc discussion > > Changed paths: >    U   phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml > > Modified: phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml > =================================================================== > --- phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml     2009-11-20 20:06:23 > UTC (rev 291097) > +++ phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml     2009-11-20 20:28:06 > UTC (rev 291098) > @@ -81,6 +81,17 @@ >   </para> >  </refsect1> > > + <refsect1 role="notes"> > +  &reftitle.notes; > +  <warning> > +   <para> > +     HTML entities in <parameter>error_msg</parameter> are not > +     escaped. Use <function>htmlentities</function> on the message if > +     the error is to be displayed in a browser. > +   </para> > +  </warning> > + </refsect1> Thanks! -Hannes

« previous php.doc.cvs (#5524) next »