Skip to content

Commit 4939cca

Browse files
committed
Update comment about literal block recognition
The recognition was already there and since AsciidoctorJ 2.5.12 also working
1 parent 8a6a43d commit 4939cca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build-logic/asciidoc-extensions/src/main/java/org/spockframework/plugins/asciidoctor/IncludedSourceLinker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ private void processBlocks(Document document, boolean listings) {
585585
// complain that there is only inline code instead of including tested code;
586586
// if we are at a literal block, just do nothing and don't complain;
587587
// be aware that a literal block with `source` style in the sources ends up as listing block here
588-
// Once https://github.com/asciidoctor/asciidoctor/issues/4556 is implemented we could add a recognition here
588+
// but can be identified via the cloaked-context attribute read above.
589589
if (includeSourceMarkerLine.isEmpty()) {
590590
if (listings && !cloakedLiteral && !lines.isEmpty()) {
591591
log(new LogRecord(WARN, "listing with only inline code found; " +

0 commit comments

Comments
 (0)