Skip to content

Commit 6f8f548

Browse files
committed
v5.0.1
1 parent 0dc4f91 commit 6f8f548

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v5.0.1 - 2025-08-22
4+
5+
- Fixed warning on latest gleam_stdlib.
6+
37
## v5.0.0 - 2025-05-09
48

59
- Support for maths.

gleam.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "jot"
2-
version = "5.0.0"
2+
version = "5.0.1"
33
gleam = ">= 1.5.0"
44
description = "A parser for Djot, a markdown-like language"
55
licences = ["Apache-2.0"]

src/jot.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ fn create_footnotes(
13301330
footnote_number: String,
13311331
) {
13321332
dict.get(document.footnotes, footnote)
1333-
|> result.then(fn(footnote) {
1333+
|> result.try(fn(footnote) {
13341334
// Even if the footnote is empty, we need to still make sure a backlink is generated
13351335
case list.is_empty(footnote) {
13361336
True -> Error(Nil)

0 commit comments

Comments
 (0)