protected function renderHeadline($block)
	{
		foreach($block['content'] as $i => $element) {
			if ($element[0] === 'specialAttributes') {
				unset($block['content'][$i]);
				$block['attributes'] = $element[1];
			}
		}
		$tag = 'h' . $block['level'];
		$attributes = $this->renderAttributes($block);
		return "<$tag$attributes>" . rtrim($this->renderAbsy($block['content']), "# \t") . "</$tag>\n";
	}
protected function renderHeadline($block)
	{
		foreach($block['content'] as $i => $element) {
			if ($element[0] === 'specialAttributes') {
				unset($block['content'][$i]);
				$block['attributes'] = $element[1];
			}
		}
		$tag = 'h' . $block['level'];
		$attributes = $this->renderAttributes($block);
		return "<$tag$attributes>" . rtrim($this->renderAbsy($block['content']), "# \t") . "</$tag>\n";
	}
protected function renderHeadline ( $ block ) { foreach ( $ block [ 'content' ] as $ i => $ element ) { if ( $ element [ 0 ] === 'specialAttributes' ) { unset ( $ block [ 'content' ] [ $ i ] ) ; $ block [ 'attributes' ] = $ element [ 1 ] ; } } $ tag = 'h' . $ block [ 'level' ] ; $ attributes = $ this -> renderAttributes ( $ block ) ; return "<$tag$attributes>" . rtrim ( $ this -> renderAbsy ( $ block [ 'content' ] ) , "# \t" ) . "</$tag>\n" ; }
Renders a headline
Renders a headline