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

Body tag hidden in message template source even if it contains markup.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.6
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      The problem is: if the body tag contains markup, then the message template is saved, when it is reopened only the things inside the body tag are shown.

      This means that a user can easily break their template by having an element like <body style='text-color: #000; background-color: #000'>

      When the message template is opened, only the elements inside body, but not including body, will be shown. This means that the user is unable to change it back.underlined text

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              johnff John Kirk
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: