From 88a60a81da3ec4f8816a5a9162eaceed7bbbbc1f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 30 Apr 2026 18:48:40 +0800 Subject: [PATCH] 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 => md4c_0.5.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-support/md4c/{md4c_0.5.2.bb => md4c_0.5.3.bb} (80%) diff --git a/meta-oe/recipes-support/md4c/md4c_0.5.2.bb b/meta-oe/recipes-support/md4c/md4c_0.5.3.bb similarity index 80% rename from meta-oe/recipes-support/md4c/md4c_0.5.2.bb rename to meta-oe/recipes-support/md4c/md4c_0.5.3.bb index 59f2e430aa..12bcf15a87 100644 --- a/meta-oe/recipes-support/md4c/md4c_0.5.2.bb +++ b/meta-oe/recipes-support/md4c/md4c_0.5.3.bb @@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=383f39920f391605af6e8e46e60e2378" SRC_URI = " \ - git://github.com/mity/md4c.git;protocol=https;branch=master \ + git://github.com/mity/md4c.git;protocol=https;branch=master;tag=release-${PV} \ " -SRCREV = "729e6b8b320caa96328968ab27d7db2235e4fb47" +SRCREV = "472c417005c2c71b8617de4f7b8d6b30411d78f4" inherit cmake