[Solar-talk] html fix for helpers
mikko at sorl.net
mikko at sorl.net
Wed Jan 10 16:13:43 PST 2007
I don't know where to propose but I thought I might start here.
Continuing my earlier post about html generation from helpers. I know
that at least the end slash is not allowed in html 4.01 strict that is
being generated from some helpers, so i thought of one idea to fix
this without breaking old code:
Solar.config.php:
...
$config['Solar_View_Helper'] = array( 'html' => true );
...
And in for example Base.php:
...
return '<base href="$href"' . ($this->_config['html'] ? '>' : ' />');
/Mikko
More information about the solar-talk
mailing list