[Plugin: Google Analytics for WordPress] Invalid Markup (1 post)

  1. semper tiro
    Posted 6 years ago #

    There is a minor flaw in this excellent plugin - it seems to produce invalid markup when there is a rel-attribute within a link. Example:

    I have a link that looks like this:

    <a rel="nofollow" href="http://www.trigami.com/?blog=http://www.semper-ti.de/">Trigami-Anzeige</a>

    And here is what Google Analytics for WordPress does to it. Note the missing blank just in front of rel.

    <a href="http://www.trigami.com/?blog=http://www.semper-ti.de/"rel="nofollow" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.trigami.com');" target="_blank">Trigami-Anzeige</a>

Topic Closed

This topic has been closed to new replies.

About this Topic