setClosed(true);
return -1;
}
++blockLineCount;
TracWikiDialect dialect = (TracWikiDialect) getDialect();
// paragraphs can have nested lists and other things
for (Block block: dialect.getParagraphNestableBlocks()) {
if (block.canStart(line, offset)) {
setClosed(true);
return 0;
}
}
if (blockLineCount != 1) {
// note: newlines don't automatically convert to line breaks
builder.characters("\n");
}
dialect.emitMarkupLine(getParser(),state,line, offset);
return -1;
}