Code Duplication    Length = 9-9 lines in 2 locations

src/Converter/ParagraphConverter.php 2 locations

@@ 61-69 (lines=9) @@
58
     *
59
     * @return string
60
     */
61
    private function escapeBlockquotelikeCharacters($line)
62
    {
63
        if (strpos(ltrim($line), '>') === 0) {
64
            // Found a > char, escaping it
65
            return '\\' . ltrim($line);
66
        } else {
67
            return $line;
68
        }
69
    }
70
71
    /**
72
     * @param string $line
@@ 76-84 (lines=9) @@
73
     *
74
     * @return string
75
     */
76
    private function escapeHeaderlikeCharacters($line)
77
    {
78
        if (strpos(ltrim($line), '--') === 0) {
79
            // Found a -- structure, escaping it
80
            return '\\' . ltrim($line);
81
        } else {
82
            return $line;
83
        }
84
    }
85
86
    /**
87
     * @param string $line