README.md and CHANGELOG.md: Update for spec 0.29.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2d56075..305a27f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,19 @@
## Next Version (Work in Progress)
+Changes:
+ * Changes mandated by CommonMark specification 0.29.
+
+ Most importantly, the white-space trimming rules for code spans have changed.
+ At most one space/newline is trimmed from beginning/end of the code span
+ (if the codespan contains some non-space contents, and if it begins and ends
+ with space at the same time). In all other cases the spaces in the code span
+ are now left intact.
+
+ Other changes in behavior are in corner cases only. Refer to [CommonMark
+ 0.29 notes](https://github.com/commonmark/commonmark-spec/releases/tag/0.29)
+ for more info.
+
Fixes:
* [#68](https://github.com/mity/md4c/issues/68):
Some specific HTML blocks were not recognized when EOF follows without any
diff --git a/README.md b/README.md
index 4185c93..a4b6039 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ MD4C is C Markdown parser with the following features:
* **Compliance:** Generally MD4C aims to be compliant to the latest version of
[CommonMark specification](http://spec.commonmark.org/). Right now we are
- fully compliant to CommonMark 0.28.
+ fully compliant to CommonMark 0.29.
* **Extensions:** MD4C supports some commonly requested and accepted extensions.
See below.