public function HamlCompressedRenderer::renderOpeningTag in Sassy 7
* Renders the opening tag of an element
Overrides HamlRenderer::renderOpeningTag
File
- phamlp/
haml/ renderers/ HamlCompressedRenderer.php, line 38
Class
- HamlCompressedRenderer
- HamlCompressedRenderer class. Output has minimal whitespace. @package PHamlP @subpackage Haml.renderers
Code
public function renderOpeningTag($node) {
return ($node->isBlock ? '' : ' ') . parent::renderOpeningTag($node);
}