Skip to content

Commit

Permalink
Fix implementation vagaries in DomXML
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Jan 4, 2024
1 parent 4391aac commit b56380f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/php/de/thekid/crews/unittest/MarkupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ public function removes_comments() {
public function does_not_parse_doctype_with($entity) {
$fixture= new Markup();
Assert::equals(
"\n]&gt;\n<p>&amp;xxe;</p>",
$fixture->transform("<!DOCTYPE results [\n".$entity."\n]>\n<p>&xxe;</p>")
"]&gt;\n<p>&amp;xxe;</p>",
ltrim($fixture->transform("<!DOCTYPE results [\n".$entity."\n]>\n<p>&xxe;</p>"))
);
}

Expand Down

0 comments on commit b56380f

Please sign in to comment.