Skip to content

Commit b6b1a81

Browse files
committed
textproc/hs-commonmark-extensions: Update to 0.2.4
0.2.4 * Make pipe_tables extension treat backslash escapes like GH does (#112, Michael Howell). This change essentially changes the way the text \\| gets parsed inside a table. In the old version, the first backslash escapes the second backslash, and then the pipe is treated as a cell separator. In the new version, the pipe is still preceded by a backslash, so it is still literal text. The escaping rule is documented in detail in the spec for this extension. This change also aligns our escaping of pipes with GitHub's. 0.2.3.6 * Fix pipe table parser so that |s don't interfere with other block structures (Michael Howell, #111, fixing #52 and #95). This parser is structured as a system that parses the second line first, then parses the first line. That is, if it detects a delimiter row as the second line of a paragraph, it converts the paragraph into a table. This seems counterintuitive, but it works better than trying to convert a table into a paragraph, since it might need to be something else. * Improve parsing of inline math (#110). 0.2.3.5 * Resolve entities inside wikilinks (#105, Michał Kukieła). 0.2.3.4 * Require whitespace after definition list marker (#104). Otherwise we can inadvertently clobber strikeout or subscript.
1 parent 2dbe668 commit b6b1a81

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

textproc/hs-commonmark-extensions/Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# $NetBSD: Makefile,v 1.10 2023/10/09 04:54:50 pho Exp $
1+
# $NetBSD: Makefile,v 1.11 2023/10/28 10:03:03 pho Exp $
22

3-
DISTNAME= commonmark-extensions-0.2.3.3
4-
PKGREVISION= 2
3+
DISTNAME= commonmark-extensions-0.2.4
54
CATEGORIES= textproc
65

76
MAINTAINER= [email protected]

textproc/hs-commonmark-extensions/PLIST

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.3 2023/01/25 16:19:04 pho Exp $
1+
@comment $NetBSD: PLIST,v 1.4 2023/10/28 10:03:03 pho Exp $
22
lib/commonmark-extensions-${PKGVERSION}/${HS_VERSION}/package-description
33
lib/commonmark-extensions-${PKGVERSION}/${HS_VERSION}/package-id
44
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Commonmark/Extensions.dyn_hi
@@ -61,7 +61,7 @@ ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Commonmark/Extensions/Wikilinks.p_hi
6161
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
6262
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
6363
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
64-
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/LICENSE
64+
share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/LICENSE
6565
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/Commonmark-Extensions-Attributes.html
6666
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/Commonmark-Extensions-AutoIdentifiers.html
6767
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/Commonmark-Extensions-Autolink.html
@@ -83,9 +83,11 @@ ${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/Co
8383
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/Commonmark-Extensions.html
8484
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/commonmark-extensions.haddock
8585
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/doc-index.html
86+
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/doc-index.json
8687
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/haddock-bundle.min.js
8788
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/index.html
8889
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/linuwial.css
8990
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/meta.json
9091
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/quick-jump.css
92+
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/quick-jump.min.js
9193
${PLIST.doc}share/doc/${HS_PLATFORM}/commonmark-extensions-${PKGVERSION}/html/synopsis.png

textproc/hs-commonmark-extensions/buildlink3.mk

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# $NetBSD: buildlink3.mk,v 1.9 2023/10/09 04:54:50 pho Exp $
1+
# $NetBSD: buildlink3.mk,v 1.10 2023/10/28 10:03:03 pho Exp $
22

33
BUILDLINK_TREE+= hs-commonmark-extensions
44

55
.if !defined(HS_COMMONMARK_EXTENSIONS_BUILDLINK3_MK)
66
HS_COMMONMARK_EXTENSIONS_BUILDLINK3_MK:=
77

8-
BUILDLINK_API_DEPENDS.hs-commonmark-extensions+= hs-commonmark-extensions>=0.2.3
9-
BUILDLINK_ABI_DEPENDS.hs-commonmark-extensions+= hs-commonmark-extensions>=0.2.3.3nb2
8+
BUILDLINK_API_DEPENDS.hs-commonmark-extensions+= hs-commonmark-extensions>=0.2.4
9+
BUILDLINK_ABI_DEPENDS.hs-commonmark-extensions+= hs-commonmark-extensions>=0.2.4
1010
BUILDLINK_PKGSRCDIR.hs-commonmark-extensions?= ../../textproc/hs-commonmark-extensions
1111

1212
.include "../../textproc/hs-commonmark/buildlink3.mk"
+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.5 2023/01/25 16:19:04 pho Exp $
1+
$NetBSD: distinfo,v 1.6 2023/10/28 10:03:03 pho Exp $
22

3-
BLAKE2s (commonmark-extensions-0.2.3.3.tar.gz) = 1ad30fc8940460119c1bf061b5a040ef1e05d7ad14d751604b3d44011cbf8322
4-
SHA512 (commonmark-extensions-0.2.3.3.tar.gz) = 8c77d6ed57110deb7689c9dddb64b638048a0c4b7948b4154a928338b28a2ffbde3f72ff6652e9ad7790b2604b3facacef126b036c60d8a91b21f5e682cde7fe
5-
Size (commonmark-extensions-0.2.3.3.tar.gz) = 37708 bytes
3+
BLAKE2s (commonmark-extensions-0.2.4.tar.gz) = 6ee784c040ffc86c9c1bb3ac2c6753a41e72fbe0dd7c87d10d2d9b066b2a6ec0
4+
SHA512 (commonmark-extensions-0.2.4.tar.gz) = ab5b24d7007d04fec80f49be15a883aebbddf1bea4fc3b5e7a75cda7ad1d650200f0804a9c34ec2a5785d603e4d7e8c299aca9233623e22081c9b754c4a96a8f
5+
Size (commonmark-extensions-0.2.4.tar.gz) = 39738 bytes

0 commit comments

Comments
 (0)