/** * @see javascript_tag_minified * @param string $content * @return string */ function style_tag_minified($content = null, array $elementOptions = array()) { use_helper('Tag'); if (null === $content) { ob_start(); } else { // minify content $content = sfCombineUtility::minifyInlineCss($content); if (!isset($elementOptions['type'])) { $elementOptions['type'] = 'text/css'; } return content_tag('style', "\n/*" . cdata_section("*/\n{$content}\n/*") . "*/\n", $elementOptions); } }