4c15ad658d
This makes sure that we don't change the line breaking for either HTML nor plain text print notices. For plain text, the <pre> is used to keep the line breaks as defined in the notices template. For HTML we require on the line breaks added by block elements in the HTML notice, not adding any additional ones like before. This gives the full control of the formatting to the notice editor. To test: * Make sure your patron doesn't have an email address * Make sure to check the hold filled notice in messaging preferences * Place a old on any item * Checkin the item * Confirm hold * Verify notices tab shows the Hold (print) notice * ./misc/cronjobs/gather_print_notices.pl ./ --html * Verify the generated file has the HTML output wrapped in pre. * Reformat the HOLD print notice to be HTML by setting the checkbox. Mmake sure to add some empty lines for (they should not print later) and some <br>, <p>, <div> - They should be reflected in the notice later. * Repeat test. * All should be well :) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> |
||
---|---|---|
.. | ||
holds | ||
recalls | ||
rss | ||
social_data | ||
thirdparty | ||
advance_notices.pl | ||
archive_purchase_suggestions.pl | ||
automatic_checkin.pl | ||
automatic_item_modification_by_age.pl | ||
automatic_renewals.pl | ||
backup.sh | ||
batch_anonymise.pl | ||
build_browser_and_cloud.pl | ||
cart_to_shelf.pl | ||
check-url-quick.pl | ||
cleanup_database.pl | ||
cloud-kw.pl | ||
cloud-sample.conf | ||
CONFIGURE.gmail | ||
create_koc_db.pl | ||
crontab.example | ||
delete_items.pl | ||
delete_patrons.pl | ||
delete_records_via_leader.pl | ||
edi_cron.pl | ||
erm_run_harvester.pl | ||
fines.pl | ||
gather_print_notices.pl | ||
import_webservice_batch.pl | ||
longoverdue.pl | ||
membership_expiry.pl | ||
merge_authorities.pl | ||
notice_unprocessed_suggestions.pl | ||
overdue_notices.pl | ||
patron_emailer.pl | ||
plugins_nightly.pl | ||
printoverdues.sh | ||
process_message_queue.pl | ||
purge_suggestions.pl | ||
reconcile_balances.pl | ||
remove_temporary_edifiles.pl | ||
runreport.pl | ||
serialsUpdate.pl | ||
share_usage_with_koha_community.pl | ||
sitemap.pl | ||
staticfines.pl | ||
stockrotation.pl | ||
update_patrons_category.pl | ||
update_totalissues.pl | ||
writeoff_debts.pl |