From 532bbc875bbcb52ddbaa02600bb856d7e32b795e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 17 Jun 2024 19:57:33 -0700 Subject: Use latest commonmark-extensions. This fixes `auto_identifiers` and `ascii_auto_identifiers` extensions so that they substitute aliases for emojis, as documented. See #9876. --- pandoc.cabal | 2 +- stack.yaml | 1 + test/command/4742.md | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pandoc.cabal b/pandoc.cabal index 6afcc92c1..f0c59bc64 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -482,7 +482,7 @@ library case-insensitive >= 1.2 && < 1.3, citeproc >= 0.8.1 && < 0.9, commonmark >= 0.2.6 && < 0.3, - commonmark-extensions >= 0.2.5.4 && < 0.3, + commonmark-extensions >= 0.2.5.5 && < 0.3, commonmark-pandoc >= 0.2.2.1 && < 0.3, containers >= 0.6.0.1 && < 0.8, crypton-connection >= 0.3.1 && < 0.5, diff --git a/stack.yaml b/stack.yaml index 91c4356ab..8882eab56 100644 --- a/stack.yaml +++ b/stack.yaml @@ -15,6 +15,7 @@ extra-deps: - typst-symbols-0.1.6 - texmath-0.12.8.9 - emojis-0.1.4.1 +- commonmark-extensions-0.2.5.5 - git: https://github.com/jgm/typst-hs commit: dfe0367b248419c3555044705fa79a52b9c20089 - git: https://github.com/jgm/djoths diff --git a/test/command/4742.md b/test/command/4742.md index a91dffb33..f213b889f 100644 --- a/test/command/4742.md +++ b/test/command/4742.md @@ -7,7 +7,7 @@ extension properly. ^D [ Header 1 - ( "non-ascii--raksmorgas" , [] , [] ) + ( "non-ascii-warning-raksmorgas" , [] , [] ) [ Str "non" , Space , Str "ascii" @@ -29,7 +29,7 @@ so it survives... ^D [ Header 1 - ( "non-ascii-\65039-r\228ksm\246rg\229s" , [] , [] ) + ( "non-ascii-warning-r\228ksm\246rg\229s" , [] , [] ) [ Str "non" , Space , Str "ascii" @@ -49,7 +49,7 @@ so it survives... ^D [ Header 1 - ( "non-ascii-\65039-r\228ksm\246rg\229s" , [] , [] ) + ( "non-ascii-warning-r\228ksm\246rg\229s" , [] , [] ) [ Str "non" , Space , Str "ascii" -- cgit v1.2.3