summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-12-08 21:03:01 +0700
committerShulhan <ms@kilabit.info>2024-12-08 21:06:49 +0700
commitd4b59bd3cefeb40c5c59f5bf79d10d48e725b0f3 (patch)
tree6cd05e258d2915cd2562da57f783068f0e71bb3f
parent48b753829937f060439c7020f41cf2461a22fcf2 (diff)
downloadasciidoctor-go-0.6.1.tar.xz
Release asciidoctor-go v0.6.1 (2024-12-08)v0.6.1
=== Bug fixes * all: fix error log when failed to open included file:: The log use the wrong variable when printing path for failed include file. * 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.
-rw-r--r--CHANGELOG18
-rw-r--r--asciidoctor.go2
-rw-r--r--testdata/document_tohtml_test.txt4
3 files changed, 21 insertions, 3 deletions
diff --git a/CHANGELOG b/CHANGELOG
index d881d0b..63df735 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -6,6 +6,24 @@ Shulhan <ms@kilabit.info>
:sectlinks:
+[#v0_6_1]
+== asciidoctor-go v0.6.1 (2024-12-08)
+
+[#v0_6_1__bug_fixes]
+=== Bug fixes
+
+all: fix error log when failed to open included file::
++
+The log use the wrong variable when printing path for failed include
+file.
+
+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.
+
+
[#v0_6_0]
== asciidoctor-go v0.6.0 (2024-09-07)
diff --git a/asciidoctor.go b/asciidoctor.go
index 76b2f26..8ddfdc4 100644
--- a/asciidoctor.go
+++ b/asciidoctor.go
@@ -11,7 +11,7 @@ import "git.sr.ht/~shulhan/pakakeh.go/lib/math/big"
const (
// Version of this module.
- Version = `0.6.0`
+ Version = `0.6.1`
_lf = "\n"
)
diff --git a/testdata/document_tohtml_test.txt b/testdata/document_tohtml_test.txt
index bd50046..fded3e4 100644
--- a/testdata/document_tohtml_test.txt
+++ b/testdata/document_tohtml_test.txt
@@ -21,7 +21,7 @@ Document body.
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="generator" content="asciidoctor-go 0.6.0">
+<meta name="generator" content="asciidoctor-go 0.6.1">
<meta name="description" content="Multiline description with backslash">
<meta name="keywords" content="multiline, key, words">
<meta name="author" content="John Doe">
@@ -70,7 +70,7 @@ Section 2 content.
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="generator" content="asciidoctor-go 0.6.0">
+<meta name="generator" content="asciidoctor-go 0.6.1">
<meta name="author" content="John Doe">
<title>Title</title>
</head>