diff options
| -rw-r--r-- | CHANGELOG | 18 | ||||
| -rw-r--r-- | asciidoctor.go | 2 | ||||
| -rw-r--r-- | testdata/document_tohtml_test.txt | 4 |
3 files changed, 21 insertions, 3 deletions
@@ -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> |
