summaryrefslogtreecommitdiff
path: root/src/creole_test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/creole_test_main.c')
-rw-r--r--src/creole_test_main.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/creole_test_main.c b/src/creole_test_main.c
index 1157721..334ba43 100644
--- a/src/creole_test_main.c
+++ b/src/creole_test_main.c
@@ -151,6 +151,21 @@ struct {
"http://www.wikicreole.org</a>. This is what can go wrong "
"<em>this should be an italic text</em>.</p>"
},
+ {
+ .name = "Bold",
+ .input = "**Strong**",
+ .output = "<p><strong>Strong</strong></p>"
+ },
+ {
+ .name = "Nested bold/italic",
+ .input = "//**Strong and emphasized**//",
+ .output = "<p><em><strong>Strong and emphasized</strong></em></p>"
+ },
+ {
+ .name = "Alternating bold/italic doesn't work",
+ .input = "//**Strong and emphasized//**",
+ .output = "<p><em>**Strong and emphasized</em>**</p>"
+ },
#if 0
{
.name = "Simple unordered list",
@@ -219,11 +234,6 @@ struct {
.input = "Inline {{{tt}}} example {{{here}}}!",
.output = "<p>Inline <tt>tt</tt> example <tt>here</tt>!</p>"
},
- {
- .name = "Strong",
- .input = "**Strong**",
- .output = "<p><strong>Strong</strong></p>"
- },
#endif
};