Closed luisfcorreia closed 10 months ago
Adding a bit into the issue, a friend just suggested the following, adding newlines in specific places prevents the error from occouring and follows asciidoc specification.
An AsciiDoc document is a series of blocks stacked on top of one another (by line). These blocks are typically offset from one another by empty lines (though these may be optional in certain circumstances).
Apparently cukedoctor-converter isn't following this convention (empty lines between blocks).
I've went through the code myself but can't figure out how to add lines in "public CukedoctorConverter renderFeatures(List
[[9003-GPOC-Uso-da-tag-no-doc---Teste-1, 9003-GPOC-Uso da tag no-doc - Teste 1]]
=== 9003-GPOC-Uso da tag no-doc - Teste 1*
****
TIP: *Como* administrador do Showcase do projeto XPTO
*Quero* realizar o registo de férias para data pretendida
*Para* o pedido ser registado na base de dados
****
Closing as problem was found ans it not related to this project
Hi,
during our new iteration on generating a PDF for documentation, we discovered if a section starts with a number, the converter/generator considers it as a section number, not a section title.
Most specifically, if a Feature name starts with a number...
We're creating the PDF from code, using along many other things cukedoctor-converter
The error occours in this line
=== 9003-GPOC
if we add any other caracter before, no error occours
=== º9003-GPOC
The following is an edited .adoc intermediate file:
NOTE: this was previously also opened in asciidoctorj-pdf as an issue https://github.com/asciidoctor/asciidoctorj-pdf/issues/98