Skip to content

Commit

Permalink
Merge pull request #32 from WebFiori/dev
Browse files Browse the repository at this point in the history
fix: Position of Notice
  • Loading branch information
usernane authored Dec 24, 2024
2 parents 3bca521 + 1cf4a0f commit 3ee44a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
13 changes: 9 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# perform LF normalization
# Files and folders here will be not included when creating package
* text eol=crlf
*.php text eol=crlf
*.html text eol=crlf
# Files and folders here will be not included when creating package
/tests export-ignore
/.github export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpunit.xml export-ignore
/ecs.php export-ignore
/php_cs.php.dist export-ignore
/phpbench.json export-ignore
/sonar-project.properties export-ignore
/release-please-config.json
/CHANGELOG.md
/php_cs.php.dist
/ecs.php export-ignore
/CHANGELOG.md export-ignore
/release-commit.php export-ignore
/release-please-manifest.json export-ignore
/release-please-config.json export-ignore
7 changes: 5 additions & 2 deletions webfiori/email/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -939,9 +939,12 @@ private function setupBeoreTesting() {
$headersTable->addHeader('Attachments', $atts);
$this->invokeAfterSend();
$this->getDocument()->getBody()->insert(new HTMLNode('hr'), 0);
$this->getDocument()->getBody()->insert(new HTMLNode('p'), 0)->text('----Actual Email Starts After This Line----')->setStyle([
'font-weight' => '600'
$noticeLine = new HTMLNode('p');
$noticeLine->text('----Actual Message Starts After Next Line----')->setStyle([
'font-weight' => '600',
'color' => '#ef8068'
]);
$this->getDocument()->getBody()->insert($noticeLine, 0);
$this->getDocument()->getBody()->insert($headersTable, 0);
}
/**
Expand Down

0 comments on commit 3ee44a8

Please sign in to comment.