mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[GH-ISSUE #488] HtmlFormatter dies not include document type and <html> tag #170
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dnlbauer on GitHub (Dec 30, 2014).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/488
At the moment, the html formatter returns the plain html table starting with the
<table>tag. This is fine for most email programms.Unfortunatly there are also some programs that wont render this correctly. Android's gmail app, for example, will show an empty mail with a file attachment named something like "-38". Its not possible to display that file as html at all on a phone.
To change that, proper html declaration must be given I think. The table should be wrapped with something like this:
@Seldaek commented on GitHub (Mar 1, 2015):
Unfortunately the problem is records are formatted individually, so this would have to be done at a higher level in the handler itself before sending the email.