From 329954690e617b9998e2b158635cb1a5674051a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Mit=C3=A1=C5=A1?= Date: Tue, 13 Feb 2024 15:46:13 +0100 Subject: [PATCH] Few assorted typo and wording fixes. --- CHANGELOG.md | 2 +- README.md | 6 +++--- src/md4c.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1518085..0114eb84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,7 +42,7 @@ Fixes: was incomplete and one corner case remained unfixed. This is now addressed. - [#231](https://github.com/mity/md4c/issues/231): - `md2html --full-html` now emits `` in the HTML header. + `md2html --full-html` now emits `` in the HTML header. ## Version 0.5.1 diff --git a/README.md b/README.md index 79ced33d..2c8ed267 100644 --- a/README.md +++ b/README.md @@ -219,9 +219,9 @@ language) are full DOM-like parsers: They construct abstract syntax tree (AST) representation of the whole Markdown document. That takes time and it leads to bigger memory footprint. -Build AST is completely fine as long as you really need it. If you don't need -it, there is a very high chance that using MD4C will be substantially faster -and less hungry in terms of memory consumption. +Building AST is completely fine as long as you need it. If you don't, there is +a very high chance that using MD4C will be substantially faster and less hungry +in terms of memory consumption. Last but not least, some Markdown parsers are implemented in a naive way. When fed with a [smartly crafted input pattern](test/pathological_tests.py), they diff --git a/src/md4c.c b/src/md4c.c index 4a4e4012..a56204ea 100644 --- a/src/md4c.c +++ b/src/md4c.c @@ -986,7 +986,7 @@ struct MD_UNICODE_FOLD_INFO_tag { * line breaks with given replacement character. * * NOTE: Caller is responsible to make sure the buffer is large enough. - * (Given the output is always shorter then input, (end - beg) is good idea + * (Given the output is always shorter than input, (end - beg) is good idea * what the caller should allocate.) */ static void