Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter donna9

    (@donna9)

    Havent heard back from you in a while so i guess i will fix your code to resolve this problem. Again, W3C Validator seems to say it is fine (ie, to have rel and data-rel for “a” anchor links) so i am confused why this wasnt done in the first place. Anyway, i will fix your code now and move on. Regards.

    Thread Starter donna9

    (@donna9)

    Thanks for the quick reply. On my test page i have:

    <strong><a href="https://mydomain.com/image.jpg" rel="nofollow" title=""></a></strong>

    When i enable your plugin to have this as a popup using “prettyPhoto” it works fine but when i look at the underlying source i see that it is now:

    <strong><a href="https://mydomain.com/image.jpg" data-rel="lightbox-gallery-Sgxe" title=""></a></strong>

    Notice the nofollow has been stripped. I’ve seen some cases where u place the nofollow inside the data-rel attribute which doesnt help because nofollow doesnt work inside that.

    WHen i uncheck “Single images as gallery” then it shows:

    <strong><a href="https://mydomain.com/image.jpg" data-rel="nofollow lightbox-gallery-Sgxe" title=""></a></strong>

    As u can see nofollow is back HOWEVER because it is inside data-rel it now becomes useless and serves no purpose since nofollow must be inside rel not data-rel.

    I tried W3 HTML5 validator and it seems to validate fine with rel and data-rel used together so just not sure why u guys didnt just keep both when they validate fine (just tried it now using their “Direct Input” test).

Viewing 2 replies - 1 through 2 (of 2 total)