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

mtomas7 opened this Issue Feb 24, 2014 · 0 comments

1 participant


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="">
<img alt='' src=';;r=G' class='avatar avatar-44 photo' height='44' width='44' /><cite class="fn"><p class="comment-author-name" itemprop="name"><a href='' rel='external nofollow' class='url'>Joshua</a itemprop="url"></p> <span> Post author</span></cite><a href=""><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.
@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