preserve children when removing javascript: links
parent
d6fc38c4b4
commit
7c91bdd275
@ -0,0 +1,7 @@
|
||||
{
|
||||
"title": "Replace javascript: links",
|
||||
"byline": null,
|
||||
"excerpt": "abc",
|
||||
"siteName": null,
|
||||
"readerable": false
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
<div id="readability-page-1" class="page">
|
||||
<span>
|
||||
<p>abc</p>
|
||||
<p>def</p>
|
||||
ghi
|
||||
</span>
|
||||
</div>
|
@ -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…
Reference in New Issue