X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fplugins%2Fresources%2Fmarkdown.md;h=9350a8c7dd9f4c7011d85f64dc6abba92eca3401;hb=cb7940e2deacba66f2510816732be654b255cc70;hp=0b8be7c56f9d5c789f2bfd13c664510914ad7c64;hpb=761b4e283737a48934457855448df98e8014ba73;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/plugins/resources/markdown.md b/tests/plugins/resources/markdown.md index 0b8be7c5..9350a8c7 100644 --- a/tests/plugins/resources/markdown.md +++ b/tests/plugins/resources/markdown.md @@ -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)