diff options
| author | Shulhan <ms@kilabit.info> | 2024-08-12 23:40:43 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-08-12 23:40:43 +0700 |
| commit | e98aea8108d267fc5f8364d0e611698f413095c5 (patch) | |
| tree | 4d57df6f2b6af99e0c798079f6347728101b99c8 /testdata/test.adoc | |
| parent | 9a2bcad4d62c7fd93a3411e0a60cfa07c2b04051 (diff) | |
| download | asciidoctor-go-e98aea8108d267fc5f8364d0e611698f413095c5.tar.xz | |
all: use strict document header format
Previously, an empty line before Document Title cause the parser
stop parsing the document header, now an empty lines are skipped.
Also document attribute can be place anywhere, either before or
after title, and in between attributes; now it can be only placed
after revision or author or title.
Diffstat (limited to 'testdata/test.adoc')
| -rw-r--r-- | testdata/test.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testdata/test.adoc b/testdata/test.adoc index ee99271..e5c4109 100644 --- a/testdata/test.adoc +++ b/testdata/test.adoc @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info> // SPDX-License-Identifier: GPL-3.0-or-later = _Example `Document` **title**_ -:metadata key: value Author A <a@a.com>; Author mid_dle B <b@b.com> -:unclosed metadata: v1.1.1, 18 July 2020: remark +:metadata key: value +:unclosed metadata: :sectnums: :sectlinks: :sectanchors: |
