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

navigation menu is not valid html

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.3
    • Fix Version/s: 4.4.4
    • Component/s: None
    • Labels:
      None

      Description

      Navigation menu renders with & rather than & which does not pass online validators.

      On a practical level this means it throws out hundreds of errors if you try to load the $content in the alterContent hook using

      $doc = new DOMDocument();
      $doc->loadHTML($content);

      This appears to fix it

      https://github.com/eileenmcnaughton/civicrm-core/commit/124917f0fa555972891ce34da8a88b284a69470d

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: