protected function stripEmptyTags($content) { return preg_replace('/(^|\\}|;)[^\\{\\};]+\\{\\s*\\}/', '\\1', $content); }