public function evaluate() {
		if (!($wrapperClass = $this->tsValue('wrapperClass'))) {
			throw new Exception("Missing 'wrapperClass' property for WrapRemover.");
		}

		$content = $this->getValue();
		if ($this->getWorkspaceName() !== 'live') {
			return $content;
		}

		return $this->removeWrapper($content, 'div', $wrapperClass);
	}
public function evaluate() {
		if (!($wrapperClass = $this->tsValue('wrapperClass'))) {
			throw new Exception("Missing 'wrapperClass' property for WrapRemover.");
		}

		$content = $this->getValue();
		if ($this->getWorkspaceName() !== 'live') {
			return $content;
		}

		return $this->removeWrapper($content, 'div', $wrapperClass);
	}
public function evaluate ( ) { if ( ! ( $ wrapperClass = $ this -> tsValue ( 'wrapperClass' ) ) ) { throw new Exception ( "Missing 'wrapperClass' property for WrapRemover." ) ; } $ content = $ this -> getValue ( ) ; if ( $ this -> getWorkspaceName ( ) !== 'live' ) { return $ content ; } return $ this -> removeWrapper ( $ content , 'div' , $ wrapperClass ) ; }
Inside live workspace, it does NOT render extra DIV.content-collection.

This is rather dirty/temporary hack as it breaks the rule, that rendered markup
is the same in the Neos back-end and in the front-end.

@throws \TYPO3\TypoScript\Exception
@return string
Inside live workspace it does NOT render extra DIV . content - collection .