Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17747

Allow leading and trailing newlines in plaintext mail headers and footers

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6, 4.7
    • Fix Version/s: 4.7
    • Component/s: CiviMail
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      Currently you can't add leading and trailing newlines in mail header and footer templates, which makes is error prone, as users have to remember to add newlines to the beginning or end of the plain-text version of their mail (I'm nu sure this works, as these newlines will probably be removed too).

      You can test this by trying to add some leading white space to the default plain-text mail footer (see http://dmaster.demo.civicrm.org/civicrm/admin/component?action=update&id=2 )

      The attached patches will fix this (Both CiviCRM and the Quickform package needs fixing).

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              mollux Mattias Michaux
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: