tests: add more test-cases - smu - smu - simple markup (Markdown) processor (fork, fixes + features)
(HTM) git clone git://git.codemadness.org/smu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 03f280144ca5290651031862f802e4bf39fa2dc5
(DIR) parent b3c8d1c2bd22c00581982a70ecf7f943168a41c3
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 13 May 2021 16:49:01 +0200
tests: add more test-cases
Diffstat:
M testdoc | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/testdoc b/testdoc
@@ -64,9 +64,15 @@ link with trailing spaces: [suckless](http://suckless.org/ )
link with leading spaces: [suckless]( http://suckless.org/ )
-Link with (): (see [RFC8259 - 8.1. Character Encoding](https://tools.ietf.org/html/rfc8259#section-8.1)).
+link with (): (see [RFC8259 - 8.1. Character Encoding](https://tools.ietf.org/html/rfc8259#section-8.1)).
-Link with entities: [link](https://codemadness.org/?bla=2&bla2="3")
+link with entities: [link](https://codemadness.org/?bla=2&bla2="3")
+
+link with empty title: [link](http://a "")
+
+link with spaces in URL: [link](http://a/b c)
+
+link with image dimensions (should be ignored): [link](http://a/b =2x2)
images
------
@@ -95,6 +101,8 @@ image with title and dimensions with spaces: 
+image with empty title: 
+
linked thumbnail image: [](img.png)
inline html