summaryrefslogtreecommitdiff
path: root/src/creole-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/creole-test.c')
-rw-r--r--src/creole-test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/creole-test.c b/src/creole-test.c
index 76d62af..ee29e54 100644
--- a/src/creole-test.c
+++ b/src/creole-test.c
@@ -107,6 +107,12 @@ struct {
.output = "<p><a href=\"mailto:[email protected]\">"
"mailto:[email protected]</a></p>"
},
+ { // This test captures a non-standard (?) special case in the parser.
+ .name = "Raw URL followed by full stop",
+ .input = "My favorite website is https://wiki.c2.com/.",
+ .output = "<p>My favorite website is <a href=\"https://wiki.c2.com/\">"
+ "https://wiki.c2.com/</a>.</p>"
+ },
{
.name = "Unnamed URL",
.input = "[[http //example.com/examplepage]]",