We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 496832d commit 5b3d12bCopy full SHA for 5b3d12b
extensions/core-extensions.c
@@ -1,6 +1,7 @@
1
#include "cmark-gfm-core-extensions.h"
2
#include "autolink.h"
3
#include "mutex.h"
4
+#include "node.h"
5
#include "strikethrough.h"
6
#include "table.h"
7
#include "tagfilter.h"
@@ -26,4 +27,8 @@ static void register_plugins(void) {
26
27
28
void cmark_gfm_core_extensions_ensure_registered(void) {
29
CMARK_RUN_ONCE(registered, register_plugins);
30
+
31
+ // Also initialize the standard node flags if they haven't been already, in case an existing
32
+ // caller has not updated their code but is already registering the core extensions.
33
+ cmark_init_standard_node_flags();
34
}
0 commit comments