David Guerizec wrote:
> 
> Hi everybody,
> 
> I found a little bug in the way midgard-php handles &...; variables.
> Here is a piece of code that demonstrate it :
> 
> <p>Here is a special character : &<? echo "copy"; ?>;</p>
> 
> Put it on a page, and look at the generated source in your browser.
> It shows :
> <p>Here is a special character : &<? echo "copy"; ?>;</p>
> 

If you did something like
  <? $code="<p>Here is a special character : &<? echo \"copy\"; ?>;</p>"
?>
then later
  &(code);

try
  &(code:p);
instead.

Bye,
Emile

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to