mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 01:25:21 +02:00
Add new xpathQuote and checkRelMeLink methods to Content\Text\HTML class
- Add tests for both methods
This commit is contained in:
parent
b898dd1c00
commit
91c4ab2359
9 changed files with 270 additions and 0 deletions
10
tests/datasets/dom/relme/a-multiple-rel-value-start.html
Normal file
10
tests/datasets/dom/relme/a-multiple-rel-value-start.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Remote page</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href="https://example.com/profile/me" rel="me nofollow">My Profile</a>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue