| Conditions | 4 | 
| Paths | 4 | 
| Total Lines | 10 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 18 | 	private function initConvertsMarkdown() { | 
            ||
| 19 | 		if (!empty($this->markdown)) { | 
            ||
| 20 | $environment = Environment::createCommonMarkEnvironment();  | 
            ||
| 21 | $environment->addExtension(new TableExtension());  | 
            ||
| 22 | |||
| 23 | $converter = new CommonMarkConverter([], $environment);  | 
            ||
| 24 | |||
| 25 | 			foreach ($this->markdown as $markdownField) { | 
            ||
| 26 | 				if ($this->content->has($markdownField)) { | 
            ||
| 27 | $this->content[$markdownField . '_html'] = $converter->convertToHtml($this->content[$markdownField]);  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 28 | }  | 
            ||
| 32 | }  |