summaryrefslogtreecommitdiff
path: root/examples/markdown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/markdown.cpp')
-rw-r--r--examples/markdown.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/markdown.cpp b/examples/markdown.cpp
index 2fbe37f..1e95db0 100644
--- a/examples/markdown.cpp
+++ b/examples/markdown.cpp
@@ -14,6 +14,7 @@ void plain()
TexoImporterMarkdown importer(producer);
FILE *file = fopen("markdown.md", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -25,6 +26,7 @@ void html()
TexoImporterMarkdown importer(producer);
FILE *file = fopen("markdown.md", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -36,6 +38,7 @@ void markdown()
TexoImporterMarkdown importer(producer);
FILE *file = fopen("markdown.md", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -47,6 +50,7 @@ void lines()
TexoImporterMarkdown importer(producer);
FILE *file = fopen("markdown.md", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}