[Solar-talk] html formatting and escape()
Jeff Surgeson
solar at 3hex.com
Mon Jul 3 14:04:41 PDT 2006
Hi Paul
> That's strange. I just ran this quick script ...
>
> <?php
> require_once 'Solar.php';
> Solar::start(false);
>
> $html = "<a href='test'>Test</a>";
> $view = Solar::factory('Solar_View');
> echo $view->escape($html);
>
> Solar::stop();
> ?>
>
> ... and the output (in browser source) is in fact "<a
> href='test'>Test</a>" which is the way it should be.
>
> Have I missed the point of your question?
Sorry Paul, it works just like it should, its just me again! :-(
--
Jeff Surgeson
More information about the solar-talk
mailing list