summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-12-06 18:40:15 +0700
committerShulhan <ms@kilabit.info>2021-12-06 18:40:15 +0700
commit6c55e3320c38d00e765386af861a3456ee5617bc (patch)
tree9febe39eb68757c0af4ee7532ce8ebe754a5664e
parent51c845f8b738fba508f99dc7c7400d11f65bd12d (diff)
downloadasciidoctor-go-6c55e3320c38d00e765386af861a3456ee5617bc.tar.xz
Release asciidoctor-go v0.1.1 (2021-12-06)v0.1.1
=== Bug fixes * all: fix parsing and rendering cross reference Previously, when parsing cross reference we assume that if the string contains upper-case letter then it's a label so we store it as title to search for ID later. The bug is when ID is set manually and its contains upper-case for example "[#Id]". This changes fix this issue by storing cross reference first, not assuming it as ID or title, and then when doing rendering we check whether its ID or title. * all: allow colon ':' and period '.' on the ID According to XML spec [1], the colon is allowed as the first and the next character. While period is only allowed on the next characters. [1] https://www.w3.org/TR/REC-xml/#NT-Name
-rw-r--r--CHANGELOG.adoc25
1 files changed, 25 insertions, 0 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index 4144bef..cec5e77 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -1,5 +1,30 @@
= CHANGELOG
+== asciidoctor-go v0.1.1 (2021-12-06)
+
+=== Bug fixes
+
+* all: fix parsing and rendering cross reference
+
+ Previously, when parsing cross reference we assume that if the string
+ contains upper-case letter then it's a label so we store it as title
+ to search for ID later.
+
+ The bug is when ID is set manually and its contains upper-case for
+ example "[#Id]".
+
+ This changes fix this issue by storing cross reference first, not
+ assuming it as ID or title, and then when doing rendering we check
+ whether its ID or title.
+
+* all: allow colon ':' and period '.' on the ID
+
+ According to XML spec [1], the colon is allowed as the first and the next
+ character. While period is only allowed on the next characters.
+
+ [1] https://www.w3.org/TR/REC-xml/#NT-Name
+
+
== asciidoctor-go v0.1.0 (2021-03-06)
The asciidoctor-go is the Go module to parse the AsciiDoc (TM) markup