Commented header shown in page when at the top of a partial
Good day all,
First of all thanks for all the work that you put into Antora.
We have a very big document, and it was decided to split it up in a series of includes (partials). Some of these partials have a comment at the very top with the header that precedes them in the main file.
This comment is shown in the final HTML, which is unexpected:
Here the relevant fragment in the main file:
include::./../partials/basicscriptcommands/CHECKEDISYNTAX.adoc[]
=== CLEARARRAY
include::./../partials/basicscriptcommands/CLEARARRAY.adoc[]
=== COPYARRAY
and the beginning of the partial
//==== CLEARARRAY
Use CLEARARRAY to remove the content of an array from memory cache.
//[float]
//====== Function parameters
Interestingly, a newline or a comment of a different nature at the top of the file solves the issue.
This issue is not present when parsing the same file with asciidoctor
We are currently using Antora 2.1.1
Thanks!