Code Duplication    Length = 9-9 lines in 2 locations

src/Converter/ParagraphConverter.php 2 locations

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