diff options
author | Linnnus <[email protected]> | 2024-02-04 18:45:16 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2024-02-04 20:26:23 +0100 |
commit | aa2edcdf68676c3839593309af97b335cb8388b8 (patch) | |
tree | 46aaa67c4fb671751691af1d18bf3c520dda4f6f /src/creole-test.c | |
parent | 04ef019e858e6175c7b9e61bd00bab3d383890d7 (diff) |
feat(creole): escape special HTML characters
Diffstat (limited to 'src/creole-test.c')
-rw-r--r-- | src/creole-test.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 @@ -11,6 +11,11 @@ struct { const char *name, *input, *output; } tests[] = { { + .name = "Basic paragraph markup", + .input = "Basic paragraph test with <, >, & and \"", + .output = "<p>Basic paragraph test with <, >, & and "</p>" + }, + { .name = "Two paragraphs next to each other.", .input = "Hello,\n\nworld!", .output = "<p>Hello,</p><p>world!</p>" @@ -52,11 +57,6 @@ struct { }, #if 0 { - .name = "Basic paragraph markup", - .input = "Basic paragraph test with <, >, & and \"", - .output = "<p>Basic paragraph test with <, >, & and "</p>" - }, - { .name = "Simple unordered list", .input = "* list item\n*list item 2", .output = "<ul><li> list item</li>\n<li>list item 2</li></ul>" |