Skip to content

Commit

Permalink
Few assorted typo and wording fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mity committed Feb 13, 2024
1 parent b85a599 commit 3299546
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<meta charset="UTF-8">` in the HTML header.
`md2html --full-html` now emits `<meta charset="UTF-8">` in the HTML header.


## Version 0.5.1
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/md4c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3299546

Please sign in to comment.