Update md4c to 0.5.1
Fixes: QTBUG-121442 Change-Id: Ifa4d6d25a9ea967c520f84397906b0af5cde1722 Pick-to: 6.6 6.6.2 6.5 6.2 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit c29a235833410fde4cb4d502f89129bccd7403f0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
2f5fe6a9a1
commit
72747668fc
1444
src/3rdparty/md4c/md4c.c
vendored
1444
src/3rdparty/md4c/md4c.c
vendored
File diff suppressed because it is too large
Load Diff
4
src/3rdparty/md4c/md4c.h
vendored
4
src/3rdparty/md4c/md4c.h
vendored
@ -2,7 +2,7 @@
|
||||
* MD4C: Markdown parser for C
|
||||
* (http://github.com/mity/md4c)
|
||||
*
|
||||
* Copyright (c) 2016-2020 Martin Mitas
|
||||
* Copyright (c) 2016-2024 Martin Mitas
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@ -284,6 +284,7 @@ typedef struct MD_BLOCK_TD_DETAIL {
|
||||
typedef struct MD_SPAN_A_DETAIL {
|
||||
MD_ATTRIBUTE href;
|
||||
MD_ATTRIBUTE title;
|
||||
int is_autolink; /* nonzero if this is an autolink */
|
||||
} MD_SPAN_A_DETAIL;
|
||||
|
||||
/* Detailed info for MD_SPAN_IMG. */
|
||||
@ -316,6 +317,7 @@ typedef struct MD_SPAN_WIKILINK {
|
||||
#define MD_FLAG_LATEXMATHSPANS 0x1000 /* Enable $ and $$ containing LaTeX equations. */
|
||||
#define MD_FLAG_WIKILINKS 0x2000 /* Enable wiki links extension. */
|
||||
#define MD_FLAG_UNDERLINE 0x4000 /* Enable underline extension (and disables '_' for normal emphasis). */
|
||||
#define MD_FLAG_HARD_SOFT_BREAKS 0x8000 /* Force all soft breaks to act as hard breaks. */
|
||||
|
||||
#define MD_FLAG_PERMISSIVEAUTOLINKS (MD_FLAG_PERMISSIVEEMAILAUTOLINKS | MD_FLAG_PERMISSIVEURLAUTOLINKS | MD_FLAG_PERMISSIVEWWWAUTOLINKS)
|
||||
#define MD_FLAG_NOHTML (MD_FLAG_NOHTMLBLOCKS | MD_FLAG_NOHTMLSPANS)
|
||||
|
6
src/3rdparty/md4c/qt_attribution.json
vendored
6
src/3rdparty/md4c/qt_attribution.json
vendored
@ -10,7 +10,7 @@
|
||||
"License": "MIT License",
|
||||
"LicenseId": "MIT",
|
||||
"LicenseFile": "LICENSE.md",
|
||||
"Version": "0.4.8",
|
||||
"DownloadLocation": "https://github.com/mity/md4c/releases/tag/release-0.4.8",
|
||||
"Copyright": "Copyright © 2016-2020 Martin Mitáš"
|
||||
"Version": "0.5.1",
|
||||
"DownloadLocation": "https://github.com/mity/md4c/releases/tag/release-0.5.1",
|
||||
"Copyright": "Copyright © 2016-2024 Martin Mitáš"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user