aboutsummaryrefslogtreecommitdiff
path: root/testdata/include_test.txt
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-10-13 23:50:54 +0700
committerShulhan <ms@kilabit.info>2024-10-13 23:50:54 +0700
commit37563af4c7e82fab352f4ab9137f808058e483e2 (patch)
treee1758abaf802d1e94aad393e71c9b0b5fd0ede37 /testdata/include_test.txt
parent013bf4d56baf977244c670a77048ca6d946c1f56 (diff)
downloadasciidoctor-go-37563af4c7e82fab352f4ab9137f808058e483e2.tar.xz
all: fix reading include file when parent path is absolute
Previously, if the parent document is opened using absolute path and it contains include directive, the included file will fail to read because the parent path is joined with current working directory.
Diffstat (limited to 'testdata/include_test.txt')
-rw-r--r--testdata/include_test.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/testdata/include_test.txt b/testdata/include_test.txt
index ba8a0bb..eca5c6d 100644
--- a/testdata/include_test.txt
+++ b/testdata/include_test.txt
@@ -1,12 +1,12 @@
Test include directive with list description that contains open block.
->>> list_description
+>>> include
include::testdata/_includes/list_desc_00.adoc[]
include::testdata/_includes/list_desc_01.adoc[]
-<<< list_description
+<<< include
<div class="dlist">
<dl>