summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xCMakeLists.txt2
-rw-r--r--changelog.txt22
2 files changed, 23 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6401efa..87c0d9a 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ set(PROJECT_NAME "cmark")
set(PROJECT_VERSION_MAJOR 0)
set(PROJECT_VERSION_MINOR 24)
-set(PROJECT_VERSION_PATCH 0)
+set(PROJECT_VERSION_PATCH 1)
set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} )
option(CMARK_TESTS "Build cmark tests and enable testing" ON)
diff --git a/changelog.txt b/changelog.txt
index 706567c..1deee77 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,25 @@
+[0.24.1]
+
+ * Commonmark renderer:
+ + Use HTML comment, not two blank lines, to separate a list
+ item from a following code block or list. This makes the
+ output more portable, since the "two blank lines" rule is
+ unique to CommonMark. Also, it allows us to break out of
+ a sublist without breaking out of all levels of nesting.
+ + `is_autolink` - handle case where link has no children,
+ which previously caused a segfault.
+ + Use 4-space indent for bullet lists, for increased portability.
+ + Use 2-space + newline for line break for increased portability (#90).
+ + Improved punctuation escaping. Previously all `)` and
+ `.` characters after digits were escaped; now they are
+ only escaped if they are genuinely in a position where
+ they'd cause a list item. This is achieved by changes in
+ `render.c`: (a) `renderer->begin_content` is only set to
+ false after a string of digits at the beginning of the
+ line, and (b) we never break a line before a digit.
+ Also, `begin_content` is properly initialized to true.
+ * Handle NULL root in `consolidate_text_nodes`.
+
[0.24.0]
* [API change] Added `cmark_node_replace(oldnode, newnode)`.