aboutsummaryrefslogtreecommitdiff
path: root/testdata/test.adoc
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-08-12 23:40:43 +0700
committerShulhan <ms@kilabit.info>2024-08-12 23:40:43 +0700
commite98aea8108d267fc5f8364d0e611698f413095c5 (patch)
tree4d57df6f2b6af99e0c798079f6347728101b99c8 /testdata/test.adoc
parent9a2bcad4d62c7fd93a3411e0a60cfa07c2b04051 (diff)
downloadasciidoctor-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.adoc4
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: