Currently the tag() function [TagHelper?.php] doesn't make use of $open parameter.
As open parameter may be still required to use I propose the following changes:
settings.yml:
all:
.settings:
# use open (html style) or closed (xhtml style) tags, false by default
use_html_tags: false
TagHelper?.php:
function tag($name, $options = array(), $open = false)
{
if (!$name)
{
return '';
}
return '<'.$name._tag_options($options).(($open || sfConfig::get('sf_use_html_tags')) ? '>' : ' />');
}
Obviously relevant changes to doctype, html prolog and favicon link are up to the coder..