Commit d9e28dc99ef32f09ce86f04125c1b8ae3e42a2e6

Martin Mitas 2016-10-09T00:53:28

Fix: Code spans and raw HTML have same precedence.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/md4c/md4c.c b/md4c/md4c.c
index 8daccef..02d1d29 100644
--- a/md4c/md4c.c
+++ b/md4c/md4c.c
@@ -934,8 +934,7 @@ md_analyze_entity(MD_CTX* ctx, int mark_index)
 
 /* Table of precedence of various span types. */
 static const CHAR* md_precedence_table[] = {
-    _T("`"),        /* Code spans. */
-    _T("<"),        /* Raw HTML. */
+    _T("`<"),       /* Code spans and raw HTML have the same precedence. */
     _T("&")         /* Entities. */
 };