From aa2edcdf68676c3839593309af97b335cb8388b8 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sun, 4 Feb 2024 18:45:16 +0100 Subject: feat(creole): escape special HTML characters --- src/creole-test.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/creole-test.c') diff --git a/src/creole-test.c b/src/creole-test.c index 835ee42..3020c51 100644 --- a/src/creole-test.c +++ b/src/creole-test.c @@ -10,6 +10,11 @@ struct { const char *name, *input, *output; } tests[] = { + { + .name = "Basic paragraph markup", + .input = "Basic paragraph test with <, >, & and \"", + .output = "

Basic paragraph test with <, >, & and "

" + }, { .name = "Two paragraphs next to each other.", .input = "Hello,\n\nworld!", @@ -51,11 +56,6 @@ struct { .output = "

======= Header =

" }, #if 0 - { - .name = "Basic paragraph markup", - .input = "Basic paragraph test with <, >, & and \"", - .output = "

Basic paragraph test with <, >, & and "

" - }, { .name = "Simple unordered list", .input = "* list item\n*list item 2", -- cgit v1.2.3