CRM-7402 HREF link code in Contribution page footer causes HTML validation error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.2
    • Fix Version/s: 3.4.alpha
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      This code existed already for a site in the 'footer' section of Title and Settings for a Contribution Page. They were trying to save something else, like a title change.

      <BR>If you experience any difficulties making a contribution, please email <a href="mailto:info@unifem-usnc.org">info@unifem-usnc.org</a>. Thank you.

      This simple code produces a HTML validation ("suspicious") error when attempting to save. Causes great confusion for users when they cannot save pages that have been working for over a year. Remove the HTML HREF link and it works.

        Attachments

          Activity

          [CRM-7402] HREF link code in Contribution page footer causes HTML validation error
          Stoob added a comment -

          This issue isn't consistent. Depending on the content in the Introduction section, the footer HTML may or may not cause an error.

          The problem is the 'suspicious' checking is too strict if it is causing pages with simple HTML links to be rejected when saved. These pages have existed since version 2.2, and now suddenly they cannot be saved.

          Stoob added a comment -
          Donald A. Lobo added a comment -

          Stoob:

          can you try the patch attached to this issue. U'll also need to delete your templates_c directory, so we can regenerate Config.IDS.ini

          I've taken the big step of allowing html in all admin relate screens

          Stoob added a comment -

          thank you lobo! this particular case is fixed. the patch works.

          in general, I think this will help many regular users who were confused by the "suspicous" error while trying to add html to their pages

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Stoob

              Dates

              • Created:
                Updated:
                Resolved: