diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-10-21 12:38:38 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-10-22 11:13:48 +0200 |
commit | c5941f316a49c94eff354b63e75b3add98ac4aea (patch) | |
tree | 3a98fc6dee7edd3a13f335f97fb9bc4faf95f064 /tests/plugins/resources/markdown.md | |
parent | e680cfea08051150827dae26ae5e59374880c46c (diff) | |
download | Shaarli-c5941f316a49c94eff354b63e75b3add98ac4aea.tar.gz Shaarli-c5941f316a49c94eff354b63e75b3add98ac4aea.tar.zst Shaarli-c5941f316a49c94eff354b63e75b3add98ac4aea.zip |
Fix an issue with links not being reversed in code blocks
Fixes #672
+ Markdown to HTML unit test
Diffstat (limited to 'tests/plugins/resources/markdown.md')
-rw-r--r-- | tests/plugins/resources/markdown.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/plugins/resources/markdown.md b/tests/plugins/resources/markdown.md new file mode 100644 index 00000000..0b8be7c5 --- /dev/null +++ b/tests/plugins/resources/markdown.md | |||
@@ -0,0 +1,24 @@ | |||
1 | * test: | ||
2 | * [zero](http://link.tld) | ||
3 | + [two](http://link.tld) | ||
4 | - [three](http://link.tld) | ||
5 | |||
6 | 1. [zero](http://link.tld) | ||
7 | 2. [two](http://link.tld) | ||
8 | 3. [three](http://link.tld) | ||
9 | 4. [four](http://link.tld) | ||
10 | 5. foo #foobar | ||
11 | |||
12 | #foobar foo `lol #foo` #bar | ||
13 | |||
14 | fsdfs http://link.tld #foobar `http://link.tld` | ||
15 | |||
16 | http://link.tld #foobar | ||
17 | next #foo | ||
18 | |||
19 | Block: | ||
20 | |||
21 | ``` | ||
22 | lorem ipsum #foobar http://link.tld | ||
23 | #foobar http://link.tld | ||
24 | ``` \ No newline at end of file | ||