int lineOffset = blockProcessor.getLineOffset();
if (lineOffset < textileLine.length()) {
String textileLineEnd = textileLine.substring(lineOffset);
if (textileLineEnd.trim().length() > 0) {
blockProcessor.process(textileLine,lineOffset);
}
}
while (!blockProcessor.isBlockClosed()) {
if ((textileLine = reader.readLine()) != null) {
++lineNumber;