rjeschke/txtmark

This looks wrong

davidlbowen opened this issue · 0 comments

private int readXMLComment(final Line firstLine, final int start)
    {
        Line line = firstLine;
        if (start + 3 < line.value.length())
        {
            if (line.value.charAt(2) == '-' && line.value.charAt(3) == '-')
            {
...

I think that should be

            if (line.value.charAt(start + 2) == '-' && line.value.charAt(start + 3) == '-')