summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/filter_html.cpp5
-rw-r--r--example/makefile2
2 files changed, 3 insertions, 4 deletions
diff --git a/example/filter_html.cpp b/example/filter_html.cpp
index ced8f5f..a1957c3 100644
--- a/example/filter_html.cpp
+++ b/example/filter_html.cpp
@@ -8,11 +8,10 @@ int main()
TexoHTMLProducer producer(exporter);
TexoHTMLImporter importer(producer);
importer.PutStr(
- "<script>EVIL MAGIC</script>\n"
+ "<script>EVIL MAGIC</script></p>\n"
"<a href='#'>Some</a> br:<br/>\n"
"<p class='evil_too'>And paragraphs work well too...</p>\n"
- "<b>You</b> <i>can</i> <del>use</del> <ins>some</ins> witchcraft.\n"
+ "<b>You</b> <i>can</i> <del>use</del> <ins>some</ins> <p>witchcraft.\n"
);
return 0;
- return 0;
}
diff --git a/example/makefile b/example/makefile
index 5255f5b..39d4db7 100644
--- a/example/makefile
+++ b/example/makefile
@@ -2,7 +2,7 @@
# DEBUG = yes
CC = g++
-EXAMPLES = plain_to_html
+EXAMPLES = plain_to_html filter_html
CFLAGS = -Wall
ifeq '$(DEBUG)' 'yes'