Skip to content

Commit

Permalink
fixed attributes -> getAttributes in sample code (PR asciidoctor#458)
Browse files Browse the repository at this point in the history
to match AsciidoctorJ 1.5.4 API
  • Loading branch information
ahus1 authored and abelsromero committed Dec 14, 2016
1 parent 0a91ffa commit 1e17665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.adoc
Expand Up @@ -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();
Expand Down

0 comments on commit 1e17665

Please sign in to comment.