Commit d84dcec8f1e2f0b8d8b2086874637ace90dfb1e4

Martin Mitas 2017-07-12T22:53:54

md4c/md4c.h: MD_DIALECT_GITHUB does not imply MD_FLAG_PERMISSIVEATXHEADERS. Since migration to Cmark-gfm, github.com does not accept them anymore.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/md4c/md4c.h b/md4c/md4c.h
index ec173e5..a3b00fc 100644
--- a/md4c/md4c.h
+++ b/md4c/md4c.h
@@ -270,7 +270,7 @@ typedef struct MD_SPAN_IMG_DETAIL {
  * possible given what features we implement.
  */
 #define MD_DIALECT_COMMONMARK               0
-#define MD_DIALECT_GITHUB                   (MD_FLAG_PERMISSIVEATXHEADERS | MD_FLAG_PERMISSIVEAUTOLINKS | MD_FLAG_TABLES)
+#define MD_DIALECT_GITHUB                   (MD_FLAG_PERMISSIVEAUTOLINKS | MD_FLAG_TABLES)
 
 /* Renderer structure.
  */