test for broken eml, add test_generate_pdf

This commit is contained in:
phail
2022-10-22 02:25:23 +02:00
parent 20e84558d6
commit 6854896708
4 changed files with 68 additions and 44 deletions

View File

@@ -0,0 +1 @@
This is not a valid eml.

View File

@@ -47,12 +47,20 @@ Content-Transfer-Encoding: 7bit
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Some Text</p>
<p><img src="cid:part1.pNdUSz0s.D3NqVtPg@example.de" alt=""></p>
<p>and an embedded image.<br>
</p>
</body>
<body>
<p>Some Text</p>
<p>
<img src="cid:part1.pNdUSz0s.D3NqVtPg@example.de" alt="Has to be rewritten to work..">
<img src="https://upload.wikimedia.org/wikipedia/en/f/f7/RickRoll.png" alt="This image should not be shown.">
</p>
<p>and an embedded image.<br>
</p>
<p id="changeme">Paragraph unchanged.</p>
<scRipt>
document.getElementById("changeme").innerHTML = "Paragraph changed via Java Script.";
</script>
</body>
</html>
--------------fyEsKoz3fdzPxAaSslESHcHz
Content-Type: image/png; name="IntM6gnXFm00FEV5.png"