diff options
| author | kaniini <nenolod@gmail.com> | 2019-03-06 13:20:51 +0000 |
|---|---|---|
| committer | kaniini <nenolod@gmail.com> | 2019-03-06 13:20:51 +0000 |
| commit | 07f8c79a698e7ed139dec4adcefc0ae1ba680815 (patch) | |
| tree | 9f9deea5d46f0da6d2e365bd178541024025752b /test/fixtures | |
| parent | d249ea8e7c216d82cc059e130704618406e80084 (diff) | |
| parent | 788a354ce0cbe91d0430ce48db62cb537e845a6d (diff) | |
| download | pleroma-07f8c79a698e7ed139dec4adcefc0ae1ba680815.tar.gz pleroma-07f8c79a698e7ed139dec4adcefc0ae1ba680815.zip | |
Merge branch 'bugfix/rel-me_list' into 'develop'
Web.RelMe: Fix having other values in rel attr
See merge request pleroma/pleroma!901
Diffstat (limited to 'test/fixtures')
| -rw-r--r-- | test/fixtures/rel_me_anchor_nofollow.html | 14 | ||||
| -rw-r--r-- | test/fixtures/rel_me_null.html | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/fixtures/rel_me_anchor_nofollow.html b/test/fixtures/rel_me_anchor_nofollow.html new file mode 100644 index 000000000..c856f0091 --- /dev/null +++ b/test/fixtures/rel_me_anchor_nofollow.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"/> + <title>Blog</title> + </head> + <body> + <article> + <h1>Lorem ipsum</h1> + <p>Lorem ipsum dolor sit ameph, …</p> + <a rel="me nofollow" href="https://social.example.org/users/lain">lain’s account</a> + </article> + </body> +</html> diff --git a/test/fixtures/rel_me_null.html b/test/fixtures/rel_me_null.html index 57d424b80..5ab5f10c1 100644 --- a/test/fixtures/rel_me_null.html +++ b/test/fixtures/rel_me_null.html @@ -8,6 +8,7 @@ <article> <h1>Lorem ipsum</h1> <p>Lorem ipsum dolor sit ameph, …</p> + <a rel="nofollow" href="https://social.example.org/users/lain">lain’s account</a> </article> </body> </html> |
