Bug 14347 - Running overdue_notices.pl with --html flag set does not create well structured html
Summary: Running overdue_notices.pl with --html flag set does not create well structu...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
: 14281 24505 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-05 18:38 UTC by Barton Chittenden
Modified: 2020-04-05 12:25 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barton Chittenden 2015-06-05 18:38:53 UTC
When overdue_notices.pl creates the email containing un-emailed notices, and the --html flag is set, the resulting file is not a well structured HTML file:

* It contains no DTD
* There are no <html> tags
* It has no header
  * The file pointed to by the NoticesCSS syspref *should* be included, but is not
* It has no body
* The body of the individual messages is wrapped in <pre> tags, which is unnecessary, ugly, and precludes the use of styling of the notices (If you want unstyled notices, why not use text?)
* The file is always named 'attachment.txt' regardless of whether the script is called using the "--html" or "--text" flags.
Comment 1 Katrin Fischer 2020-01-07 22:05:57 UTC
*** Bug 14281 has been marked as a duplicate of this bug. ***
Comment 2 Katrin Fischer 2020-04-05 12:25:50 UTC
*** Bug 24505 has been marked as a duplicate of this bug. ***