Support » Plugin: HubSpot Tracking Code for WordPress » FYI your HTML comment is causing a validation error

  • Resolved James Bradford

    (@arniebradfo)


    You are using double dashes -- inside HTML comments around the tracking code inserted in the footer. The HTML will not validate with this in the comments because it is used to mark the start and end of HTML comments.
    W3C validator

    <!-- DO NOT COPY THIS SNIPPET! -- HubSpot User Identification Code -->

    and

    <!-- End of HubSpot User Identification Code -- DO NOT COPY THIS SNIPPET! -->

    should be

    <!-- DO NOT COPY THIS SNIPPET! HubSpot User Identification Code -->

    and

    <!-- End of HubSpot User Identification Code DO NOT COPY THIS SNIPPET! -->

    or something to that effect

    https://wordpress.org/plugins/hubspot-tracking-code/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘FYI your HTML comment is causing a validation error’ is closed to new replies.