Merge branch '2.5.x' into 2.6.x
Closes gh-29689
This commit is contained in:
@@ -90,7 +90,9 @@ class Snippets {
|
||||
|
||||
private Asciidoc getAsciidoc(Snippet snippet, Table table) {
|
||||
Asciidoc asciidoc = new Asciidoc();
|
||||
asciidoc.appendln("[[" + snippet.getAnchor() + "]]");
|
||||
// We have to prepend 'appendix.' as a section id here, otherwise the
|
||||
// spring-asciidoctor-extensions:section-id asciidoctor extension complains
|
||||
asciidoc.appendln("[[appendix." + snippet.getAnchor() + "]]");
|
||||
asciidoc.appendln("== ", snippet.getTitle());
|
||||
table.write(asciidoc);
|
||||
return asciidoc;
|
||||
|
||||
Reference in New Issue
Block a user