Login  Register

Re: Section without a title

Posted by mojavelinux on Jan 28, 2021; 8:56am
URL: https://discuss.asciidoctor.org/Section-without-a-title-tp8466p8467.html

No, this is not valid. The reason it is not valid is that the first thing that is done to any AsciiDoc document is to remove trailing spaces from all lines (called normalization). So it's not possible to make trailing spaces significant.

However, the following is valid:

== {blank}

Do not, however, that the built-in HTML converter creates an empty heading tag with an empty id in this case.

Best Regards,

-Dan

On Thu, Jan 28, 2021 at 1:53 AM Sylvain Leroux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi,

I'm investigating various AsciiDoc edge cases.
Is the following document valid?

== 


The title is missing above

(notice there is a space (\0x20) after the `==`)
my asciidoctor-based website: https://yesik.it



If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Section-without-a-title-tp8466.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux