]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/plugins/resources/markdown.md
Fix hashtags with markdown escape enabled
[github/shaarli/Shaarli.git] / tests / plugins / resources / markdown.md
index 0b8be7c56f9d5c789f2bfd13c664510914ad7c64..9350a8c7dd9f4c7011d85f64dc6abba92eca3401 100644 (file)
@@ -21,4 +21,14 @@ Block:
 ```
 lorem ipsum #foobar http://link.tld
 #foobar http://link.tld
-```
\ No newline at end of file
+```
+
+[link](?123456)
+![link](/img/train.png)
+[link](test.tld/path/?query=value#hash)
+[link](http://test.tld/path/?query=value#hash)
+[link](https://test.tld/path/?query=value#hash)
+[link](ftp://test.tld/path/?query=value#hash)
+[link](magnet:test.tld/path/?query=value#hash)
+[link](javascript:alert('xss'))
+[link](other://test.tld/path/?query=value#hash)