Permalink
Browse files

fixed attributes -> getAttributes in sample code (PR #458)

to match AsciidoctorJ 1.5.4 API
  • Loading branch information...
1 parent 342dbc5 commit 5e5cfaf2116d30ef40cb298bc534bbfe382d10bd @ahus1 ahus1 committed with mojavelinux May 7, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.adoc
View
@@ -966,7 +966,7 @@ public class TerminalCommandTreeprocessor extends Treeprocessor { // <1>
public Block convertToTerminalListing(Block block) {
- Map<String, Object> attributes = block.attributes();
+ Map<String, Object> attributes = block.getAttributes();
attributes.put("role", "terminal");
StringBuilder resultLines = new StringBuilder();

0 comments on commit 5e5cfaf

Please sign in to comment.