mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-10 01:15:31 +02:00
clean js-links & add new test
This commit is contained in:
parent
da12fcdab6
commit
873e081c33
7 changed files with 564 additions and 492 deletions
14
resources/tests/readability/js-link-replacement/source.html
Normal file
14
resources/tests/readability/js-link-replacement/source.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Replace javascript: links</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href="javascript:">
|
||||
<p>abc</p>
|
||||
<p>def</p>
|
||||
ghi
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue