From 2b43bc24f6cbdf7a67dd9aee7ced83745ef705ac Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 30 Apr 2026 18:48:40 +0800 Subject: md4c: upgrade 0.5.2 -> 0.5.3 Changes: ========== - Avoid repeated prefix language- in code block language specification if the input already explicitly includes the prefix. - Permissive autolink extensions (MD_FLAG_PERMISSIVExxxAUTOLINKS) are now tiny bit more permissive, allowing + and - characters to be anywhere in the path portion of the URL. This also improves compatibility with GFM. - Make Unicode-specific code compliant to Unicode 18.0. Fixes: =========== - #236: Fix quadratic time behavior caused by one-by-one walking over block lines instead of calling md_lookup_line(). - #238: Fix quadratic time and output size behavior caused by malicious misuse of link reference definitions. - #242: The strike-through extension (with flag MD_FLAG_STRIKETHROUGH) now follows same logic as other emphasis spans in respect to punctuation character and word boundaries. - #248: Fix handling tab when removing trailing whitespace, especially in connection with ATX headers. - #266: We now correctly abort the parser when a callback returns non-zero. (Previously it worked correctly only for negative values, values greater than zero were causing strange and inconsistent behavior.) - #271: Fix handling a code span whose closer is on the next line and yet another text follows. In the case we erroneously outputted the closer code span mark as part of the text. - #275: Fix md_decode_utf16le_before__(). (Only affected MD4C builds built with -MD4C_USE_UTF16 on Windows.) - #278, #294: Do not try to interpret characters in a link URL as Markdown syntax characters. - #292: Fix detection of closing code block fence if it has a trailing tabulator. - #299: Fix invalid free() in an error path. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/md4c/md4c_0.5.2.bb | 16 ---------------- meta-oe/recipes-support/md4c/md4c_0.5.3.bb | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 meta-oe/recipes-support/md4c/md4c_0.5.2.bb create mode 100644 meta-oe/recipes-support/md4c/md4c_0.5.3.bb diff --git a/meta-oe/recipes-support/md4c/md4c_0.5.2.bb b/meta-oe/recipes-support/md4c/md4c_0.5.2.bb deleted file mode 100644 index 59f2e430aa..0000000000 --- a/meta-oe/recipes-support/md4c/md4c_0.5.2.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Markdown for C" -DESCRIPTION = "MD4C is Markdown parser implementation in C." -HOMEPAGE = "http://github.com/mity/md4c" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=383f39920f391605af6e8e46e60e2378" - - - -SRC_URI = " \ - git://github.com/mity/md4c.git;protocol=https;branch=master \ -" - -SRCREV = "729e6b8b320caa96328968ab27d7db2235e4fb47" - -inherit cmake diff --git a/meta-oe/recipes-support/md4c/md4c_0.5.3.bb b/meta-oe/recipes-support/md4c/md4c_0.5.3.bb new file mode 100644 index 0000000000..12bcf15a87 --- /dev/null +++ b/meta-oe/recipes-support/md4c/md4c_0.5.3.bb @@ -0,0 +1,16 @@ +SUMMARY = "Markdown for C" +DESCRIPTION = "MD4C is Markdown parser implementation in C." +HOMEPAGE = "http://github.com/mity/md4c" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=383f39920f391605af6e8e46e60e2378" + + + +SRC_URI = " \ + git://github.com/mity/md4c.git;protocol=https;branch=master;tag=release-${PV} \ +" + +SRCREV = "472c417005c2c71b8617de4f7b8d6b30411d78f4" + +inherit cmake -- cgit v1.2.3-54-g00ecf