mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 11:15:14 +00:00
remove glob and cheerio from dependencies
This commit is contained in:
14
test/unit/clean_html/samples/removes-cdata/.actual.html
Normal file
14
test/unit/clean_html/samples/removes-cdata/.actual.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<ms></ms>
|
||||
<mo>+</mo>
|
||||
<mn>3</mn>
|
||||
<mo>=</mo>
|
||||
<ms></ms>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
||||
14
test/unit/clean_html/samples/removes-cdata/input.html
Normal file
14
test/unit/clean_html/samples/removes-cdata/input.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<ms><![CDATA[x<y]]></ms>
|
||||
<mo>+</mo>
|
||||
<mn>3</mn>
|
||||
<mo>=</mo>
|
||||
<ms><![CDATA[x<y3]]></ms>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
||||
14
test/unit/clean_html/samples/removes-cdata/output.html
Normal file
14
test/unit/clean_html/samples/removes-cdata/output.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<math>
|
||||
<ms></ms>
|
||||
<mo>+</mo>
|
||||
<mn>3</mn>
|
||||
<mo>=</mo>
|
||||
<ms></ms>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<a href="keep-me">keep me</a>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
9
test/unit/clean_html/samples/removes-comments/input.html
Normal file
9
test/unit/clean_html/samples/removes-comments/input.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<a href="keep-me">keep me</a>
|
||||
<!-- <a href="delete-me">delete me</a> -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,9 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<a href="keep-me">keep me</a>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,12 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<script></script>
|
||||
|
||||
<script></script>
|
||||
|
||||
<script src="attributes-are-preserved.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,16 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
console.log('this should be deleted');
|
||||
</script>
|
||||
|
||||
<script>
|
||||
console.log('so should this');
|
||||
</script>
|
||||
|
||||
<script src="attributes-are-preserved.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,12 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<script></script>
|
||||
|
||||
<script></script>
|
||||
|
||||
<script src="attributes-are-preserved.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user