Skip to content

Commit ae806c6

Browse files
committed
Bump to 0.24.1, updated changelog.
1 parent 047e65d commit ae806c6

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set(PROJECT_NAME "cmark")
1010

1111
set(PROJECT_VERSION_MAJOR 0)
1212
set(PROJECT_VERSION_MINOR 24)
13-
set(PROJECT_VERSION_PATCH 0)
13+
set(PROJECT_VERSION_PATCH 1)
1414
set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} )
1515

1616
option(CMARK_TESTS "Build cmark tests and enable testing" ON)

changelog.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
[0.24.1]
2+
3+
* Commonmark renderer:
4+
+ Use HTML comment, not two blank lines, to separate a list
5+
item from a following code block or list. This makes the
6+
output more portable, since the "two blank lines" rule is
7+
unique to CommonMark. Also, it allows us to break out of
8+
a sublist without breaking out of all levels of nesting.
9+
+ `is_autolink` - handle case where link has no children,
10+
which previously caused a segfault.
11+
+ Use 4-space indent for bullet lists, for increased portability.
12+
+ Use 2-space + newline for line break for increased portability (#90).
13+
+ Improved punctuation escaping. Previously all `)` and
14+
`.` characters after digits were escaped; now they are
15+
only escaped if they are genuinely in a position where
16+
they'd cause a list item. This is achieved by changes in
17+
`render.c`: (a) `renderer->begin_content` is only set to
18+
false after a string of digits at the beginning of the
19+
line, and (b) we never break a line before a digit.
20+
Also, `begin_content` is properly initialized to true.
21+
* Handle NULL root in `consolidate_text_nodes`.
22+
123
[0.24.0]
224

325
* [API change] Added `cmark_node_replace(oldnode, newnode)`.

0 commit comments

Comments
 (0)