summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-06-04 16:12:42 +0700
committerShulhan <ms@kilabit.info>2023-06-04 16:14:22 +0700
commita1084b36db923f54bc1e0047ec4681626164260a (patch)
treedb4a2ec59cf6ca6abd4a44ccce6a2d1a69e79402
parent191fe5d486492ec3b564f77d4c3708f2fa3201e5 (diff)
downloadasciidoctor-go-a1084b36db923f54bc1e0047ec4681626164260a.tar.xz
Release asciidoctor-go v0.5.0 (2023-06-04)v0.5.0
=== New features * all: add support for unordered list with '-' === Bug fixes * all: fix rendering blockquote without attribution * all: handle custom marker in between unordered list
-rw-r--r--CHANGELOG66
-rw-r--r--asciidoctor.go2
2 files changed, 65 insertions, 3 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 6e66d40..b4fa59f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,12 +2,74 @@
// SPDX-License-Identifier: GPL-3.0-or-later
= Changelog for asciidoctor-go
Shulhan <ms@kilabit.info>
-21 February 2022
:toc:
-:sectanchors:
:sectlinks:
+[#v0_5_0]
+== asciidoctor-go v0.5.0 (2023-06-04)
+
+[#v0_5_0__new_features]
+=== New features
+
+all: add support for unordered list with '-'::
++
+--
+The unordered list item with hyphen ('-') cause too much confusion and
+inconsistency, nevertheless most of still use it.
+
+Case one, given the following markup,
+
+----
+- Item 1
++
+"A line
+of quote"
+-- Author
+----
+
+Is the "Author" the sub item in list or we are parsing author of quote
+paragraph?
+
+Case two, the writer want to write em dash (`&#8212;` in HTML Unicode) but
+somehow the editor wrap it and start in new line.
+
+As a reminder, the official documentation only recommend using hyphen for
+simple list item [1].
+
+[1] https://docs.asciidoctor.org/asciidoc/latest/lists/unordered/#basic-unordered-list
+--
+
+[#v0_5_0__bug_fixes]
+=== Bug fixes
+
+all: fix rendering blockquote without attribution::
++
+--
+Previously, in the htmlWriteBlockQuoteEnd, if attribution is set
+we add HTML tag <div> and close it later after we add citation.
+
+The issue is we did not check if attribution is true again when we
+add closing tag for div, which make the div above of blockquote get
+closed.
+--
+
+all: handle custom marker in between unordered list::
++
+--
+Given the following markup,
+
+----
+[square]
+* item 1
+[circle]
+** item 2
+----
+
+The list on item 2 now start with `<div class="ulist circle">`.
+--
+
+
[#v0_4_1]
== asciidoctor-go v0.4.1 (2023-03-03)
diff --git a/asciidoctor.go b/asciidoctor.go
index e5de079..7e91f40 100644
--- a/asciidoctor.go
+++ b/asciidoctor.go
@@ -11,7 +11,7 @@ import "github.com/shuLhan/share/lib/math/big"
const (
// Version of this module.
- Version = `0.4.1`
+ Version = `0.5.0`
_lf = "\n"
)