Code Duplication    Length = 7-11 lines in 2 locations

src/Inigo/Parser.php 2 locations

@@ 323-329 (lines=7) @@
320
                    if (!$tag->isOfType(self::TAG_INLINE)) {
321
                        // Opening tag, outline tag
322
323
                        if ($f_clear_content) {
324
                            $tag_content .= $this->printCData($cdata, true);
325
                            $tag_content .= $this->printHandlerMarkup($tag, true);
326
                        } else {
327
                            $ret .= $this->printCData($cdata, true);
328
                            $ret .= $this->printHandlerMarkup($tag, true);
329
                        }
330
331
                        // If clear content tag, detect content and skip parsing
332
                        if ($tag->isOfType(self::TAG_CLEAR_CONTENT)) {
@@ 357-367 (lines=11) @@
354
                            $tag_content .= $this->printCData($cdata);
355
                            $ret .= $this->printHandlerMarkup($tag, false, $tag_content);
356
                            $tag_content = '';
357
                        } else {
358
                            // Closing tag, outline tag, NOT clear content tag
359
360
                            if ($f_clear_content) {
361
                                $tag_content .= $this->printCData($cdata);
362
                                $tag_content .= $this->printHandlerMarkup($tag, false);
363
                            } else {
364
                                $ret .= $this->printCData($cdata);
365
                                $ret .= $this->printHandlerMarkup($tag, false);
366
                            }
367
                        }
368
                    } else {
369
                        // Closing tag, inline tag
370