Skip to content

Commit

Permalink
Fix element hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusklocke committed Jan 15, 2025
1 parent 28bc866 commit 1860b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application/Email/HtmlMailRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function render(array $data): string
$html = $this->addElement($document, $document, 'html');

// <head>
$head = $this->addElement($document, $document, 'head');
$head = $this->addElement($document, $html, 'head');
$this->addElement($document, $head, 'meta', ['charset' => 'UTF-8']);
$this->addElement($document, $head, 'meta', ['name' => 'viewport', 'value' => 'width=device-width, initial-scale=1.0']);
$this->addElement($document, $head, 'title', [], $data['title']);
Expand Down

0 comments on commit 1860b37

Please sign in to comment.