Webby eating php object accessor

13 views
Skip to first unread message

Mike

unread,
Nov 7, 2012, 8:28:28 PM11/7/12
to webby...@googlegroups.com
Even with no filters enabled, webby will not let me use an object accessor.

If I put the following line in a page:
<?php
myFunction($var);
?>

Everything is fine.  The output is correct.

If I try to do this:
<?php
$myObject->myMethod($var);
?>

What gets put out is:

<?php
$myObject?>myMethod($var);
?>

This is not valid php.  For the life of me I can't figure out why it's doing this.  I have removed all the filters from the meta data.  I even tried replacing it with <%= "->" %> and also tried splitting it up <%= "-" %><%= ">" %> and it still does the same thing. (obviously I had to enable ERB filter to try that) 

Something thinks the -> is the php tag close and is trying to fix it(?) but with no filters enabled, it seems like it has to be webby itself.  Any way to escape it?



Reply all
Reply to author
Forward
0 new messages