Commit 29dfdd91209a0739e94e487eb98881eb1afa9a03

Martin Mitas 2019-04-08T19:45:50

README.md and CHANGELOG.md: Update for spec 0.29.

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.