Skip to content

Commit

Permalink
add warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fletcher committed Nov 19, 2014
1 parent 7d03540 commit 17950ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions transclude.c
Expand Up @@ -54,6 +54,8 @@ char * source_without_metadata(char * source, unsigned long extensions ) {

if (has_metadata(source, extensions)) {
/* If we have metadata, then return just the body */
/* TODO: This could miss YAML Metadata that does not contain
blank line afterwards */
result = strstr(source, "\n\n");

if (result != NULL)
Expand Down

0 comments on commit 17950ce

Please sign in to comment.