kc3-lang/md4c/src

Branch :


Log

Author Commit Date CI Message
aa53f82c 2024-02-07 11:44:39 Introduce an overall limit to link. ref. defs instantiations. This is to prevent time and output size explosion in case of input pattern generated by this: $ python -c 'N=1000; print("[x]: " + "x" * N + "\n[x]" * N)' We roughly allow to blowing up the input size of the document 16 times by link reference definitions or up to 1 MB, whatever is smaller. When the threshold is reached, following reference definitions are sent to output unresolved as a text. Fixes #238.
30945d80 2024-02-01 22:16:22 md_is_link_label: Fix warning about potentially uninitialized variable... ... when build with gcc 13.2.0 in release build.
f37a89f5 2024-02-01 21:55:45 md_is_inline_link_spec: Use md_lookup_line() instead of walking. Fixes #236.
a44a1cf8 2024-01-11 11:29:29 Update tags for HTML block starting condition. Specifically, "<source>" has been removed, "<search>" added.
4aea320a 2024-01-09 02:25:05 md_is_html_comment: Reflect updated spec.txt. * Accept "<!-->" and "<!--->" as valid HTML comments. * HTML comment now can contain "--"
ef4dcd41 2024-01-09 02:54:25 Updated spec.txt expands what's recognized as Unicode punctuation. Namely all P and S general categories are now treated as punctuation.
5bd62241 2024-01-28 08:10:06 Fix warning about a shadowed variable (with -Wshadow). Fixes #234.
90f8d964 2024-01-26 10:23:36 Put all compiler option to one place and unify them for all targets. (And fix a newly triggered warning in md2html/md2html.c.)
3e8048db 2024-01-26 03:09:56 Improve/unify approach to line indexing. * Use consistently type MD_SIZE for line indeces. * Remove pointer arithmetic if lines and replace it with line index arithmetic. This resolves some warnings in MSVC builds. See PR #232. Co-authored-by: Martin Mitas <mity@morous.org> Co-authored-by: Shawn Rutledge <s@ecloud.org>
5178c585 2024-01-25 23:53:58 Fix uninitialized variable. This was regression introduced in the commit aeddaf587f5e3faceb2d88a45ef7987bdebfe837.