commit 03f280144ca5290651031862f802e4bf39fa2dc5 parent b3c8d1c2bd22c00581982a70ecf7f943168a41c3 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(-)
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: ![alt text](http://st.suckless.org/ =12x34 "screenshot of st" ) +image with empty title: ![alt text](http://st.suckless.org/screenshots/20h-2012-s.png "") + linked thumbnail image: [![alt text](thumb.png "click to open" =12x34)](img.png) inline html