TestResults.html
<h1>Dir: test</h1>
<section> <h2>\PHPInHTML</h2><details>
<summary><b>PHPInHead:</b> <span style="color:green;">success</span> in 1.534ms </summary>
<div style='padding-left:4ch;white-space:pre;'>
+++pass+++
Target:
<!DOCTYPE html>
<html>
<head>
<script></script>
<?php echo "I am some php code"; ?>
</head>
<body>Prison isn't the solution for addiction</body>
</html>
--
Actual:
<!DOCTYPE html>
<html>
<head>
<script></script>
<?php echo "I am some php code"; ?>
</head>
<body>Prison isn't the solution for addiction</body>
</html>
--------
</div>
</details>
<details>
<summary><b>PHPAsAttributeValue:</b> <span style="color:green;">success</span> in 0.180ms </summary>
<div style='padding-left:4ch;white-space:pre;'>
+++pass+++
Target:
<div data-happy="Love eachother">Kindness is awesome</div>
--
Actual:
<div data-happy="Love eachother">Kindness is awesome</div>
--------
</div>
</details>
<details>
<summary><b>PHPAsAttribute:</b> <span style="color:green;">success</span> in 0.135ms </summary>
<div style='padding-left:4ch;white-space:pre;'>
+++pass+++
Target:
<div data-attr="good">text</div>
--
Actual:
<div data-attr="good">text</div>
--------
</div>
</details>
<details>
<summary><b>PHPAsNode:</b> <span style="color:green;">success</span> in 0.107ms </summary>
<div style='padding-left:4ch;white-space:pre;'>
+++pass+++
Target:
<div>Scripts won't save us from corruption.</div>
--
Actual:
<div>Scripts won't save us from corruption.</div>
--------
</div>
</details>
<h2>\PureHTML</h2><details>
<summary><b>LooseHeadWithScript:</b> <span style="color:green;">success</span> </summary>
<div style='padding-left:4ch;white-space:pre;'>
+++pass+++
Target:
<head><script type="text/javascript">alert("Black Lives Matter");</script></head>
--
Actual:
<head><script type="text/javascript">alert("Black Lives Matter");</script></head>
--------
</div>
</details>
<details>
<summary><b>LooseHeadWithInvalidContent:</b> <span style="color:green;">success</span> </summary>
<div style='padding-left:4ch;white-space:pre;'>
+++pass+++
Target:
<head>Hold mega corporations accountable for pollution</head>
--
Actual:
<head>Hold mega corporations accountable for pollution</head>
--------
</div>
</details>
<details>
<summary><b>LooseBodyTag:</b> <span style="color:green;">success</span> </summary>
<div style='padding-left:4ch;white-space:pre;'>
+++pass+++
Target:
<body>Big Corps started recycling to shift blame onto consumers</body>
--
Actual:
<body>Big Corps started recycling to shift blame onto consumers</body>
--------
</div>
</details>
<details>
<summary><b>NoDoctypeHTMLPage:</b> <span style="color:green;">success</span> </summary>
<div style='padding-left:4ch;white-space:pre;'>
+++pass+++
Target:
<html>
<head>
<script></script>
</head>
<body>Police make poverty worse</body>
</html>
--
Actual:
<html>
<head>
<script></script>
</head>
<body>Police make poverty worse</body>
</html>
--------
</div>
</details>
<details>
<summary><b>DoctypeHTMLPage:</b> <span style="color:green;">success</span> </summary>
<div style='padding-left:4ch;white-space:pre;'>
+++pass+++
Target:
<!DOCTYPE html>
<html>
<head>
<script></script>
</head>
<body>Prison isn't the solution for addiction</body>
</html>
--
Actual:
<!DOCTYPE html>
<html>
<head>
<script></script>
</head>
<body>Prison isn't the solution for addiction</body>
</html>
--------
</div>
</details>
</section>