itemprop="url" is added to a closing brackets of a link #4

Closed
mtomas7 opened this Issue Feb 24, 2014 · 0 comments

1 participant

@mtomas7

Hi, Joshua,

recently I discovered that in comments itemprop="url" is inserted in closing tag of a link:

</a itemprop="url">

I checked it and you could also see this on your site. Looking at the function it looks that it should be inserted at the beginning of the link, right?


<header class="comment-meta comment-author vcard" itemprop="creator" itemscope itemtype="http://schema.org/Person">
<img alt='' src='http://1.gravatar.com/avatar/50edf8c5262b8ac2c575914ee2f31b28?s=44&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D44&amp;r=G' class='avatar avatar-44 photo' height='44' width='44' /><cite class="fn"><p class="comment-author-name" itemprop="name"><a href='http://www.joshualyman.com' rel='external nofollow' class='url'>Joshua</a itemprop="url"></p> <span> Post author</span></cite><a href="http://www.joshualyman.com/twenty-twelve-schema-org-child-theme/#comment-1297"><time datetime="2012-10-05T10:47:56+00:00" itemprop="commentTime">October 5, 2012 at 10:47 am</time></a> </header><!-- .comment-meta -->

@jlyman jlyman added a commit that closed this issue Feb 26, 2014
@jlyman Fixes #4 - moves the itemprop attribute to the opening tag instead of…
… being incorrectly added to the closing tag.
bfea2e6
@jlyman jlyman closed this in bfea2e6 Feb 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment