typo at TerminalCommandTreeprocessor example
I think we need to close the span tag
@@ -948,7 +948,7 @@ public class TerminalCommandTreeprocessor extends Treeprocessor { // <1>
this.document = document;
- final List<AbstractBlock> blocks = this.document.blocks(); // <2>
+ final List<AbstractBlock> blocks = this.document.getBlocks(); // <2>
for (int i = 0; i < blocks.size(); i++) {
final AbstractBlock currentBlock = blocks.get(i);
@@ -976,7 +976,7 @@ public class TerminalCommandTreeprocessor extends Treeprocessor { // <1>
if (line.startsWith("$")) {
resultLines.append("<span class=\"command\">")
.append(line.substring(2, line.length()))
- .append("</command");
+ .append("</span>");
}
else {
resultLines.append(line);
