diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-05 02:03:44 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-05 02:13:22 +0100 |
commit | 788a354ce0cbe91d0430ce48db62cb537e845a6d (patch) | |
tree | e8c802ddf1d95420dafb13911aa20a91c2b1b47f /test/fixtures/rel_me_anchor_nofollow.html | |
parent | 682cc94db11404ad658f566634c1e641cc575091 (diff) | |
download | pleroma-788a354ce0cbe91d0430ce48db62cb537e845a6d.tar.gz pleroma-788a354ce0cbe91d0430ce48db62cb537e845a6d.zip |
Web.RelMe: Fix having other values in rel attr
One example of this is Github which puts a rel="nofollow me" on the
profile link.
Diffstat (limited to 'test/fixtures/rel_me_anchor_nofollow.html')
-rw-r--r-- | test/fixtures/rel_me_anchor_nofollow.html | 14 |
1 files changed, 14 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> |