From 1eb2e3f0ecdda3f77e5df08ee1b292907598c57b Mon Sep 17 00:00:00 2001 From: "Fletcher T. Penney" Date: Sun, 20 Aug 2017 15:29:40 -0400 Subject: [PATCH] UPDATED: Update astyle --- Makefile | 2 +- Sources/libMultiMarkdown/mmd.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7ca2d3f..194da14 100644 --- a/Makefile +++ b/Makefile @@ -128,4 +128,4 @@ CHANGELOG: # Use astyle .PHONY : astyle astyle: - astyle --options=.astylerc "Sources/libMultiMarkdown/*.c" "Sources/multimarkdown/*.c" "Sources/libMultiMarkdown/*.h" "Sources/multimarkdown/*.h" + astyle --options=.astylerc "Sources/libMultiMarkdown/*.c" "Sources/multimarkdown/*.c" "Sources/libMultiMarkdown/*.h" diff --git a/Sources/libMultiMarkdown/mmd.c b/Sources/libMultiMarkdown/mmd.c index 132c163..a654529 100644 --- a/Sources/libMultiMarkdown/mmd.c +++ b/Sources/libMultiMarkdown/mmd.c @@ -2106,6 +2106,7 @@ handle_line: break; case BLOCK_DEFINITION: + // Sometimes these get created unintentionally inside other blocks // Process inside it, then treat it like a line to be stripped @@ -2417,7 +2418,7 @@ stack * mmd_string_transclusion_manifest(const char * source, const char * searc stack * result; mmd_engine * e = mmd_engine_create_with_string(source, 0); - + result = mmd_engine_transclusion_manifest(e, search_path, source_path); mmd_engine_free(e, true); @@ -2433,7 +2434,7 @@ stack * mmd_d_string_transclusion_manifest(DString * source, const char * search stack * result; mmd_engine * e = mmd_engine_create_with_dstring(source, 0); - + result = mmd_engine_transclusion_manifest(e, search_path, source_path); mmd_engine_free(e, false); -- 2.50.1