-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove invalid rel attribute from <img> tag #2019
Conversation
Is the attribute causing pain somehow besides it validating as "invalid"? Would need to check the image dialogue JS code as it looks like it If it is indeed still used, could it be a data attribute instead? For |
Hi, When I tested it locally, I didn't have any javascript errors, so I don't think it's used anymore. I don't know anything about how to inspect the Dragonfly URL, are you able to take it from here? I couldn't quite tell what the Dave |
I believe if you changed the definition of the wymeditor rel tag from |
@danielfone good point. @daveharris would this work for you? |
Yes that will work great for me! Thanks @danielfone |
@daveharris would you care to modify your commit to incorporate this feedback? Locally, just change the files appropriately and use this:
Let me know if you can't or don't want to :-) Thanks again, |
Yes, I will update it. I am currently at work so will hopefully get some time in-between other client work! |
Yay! |
No problem -- it was one of the few issues somewhat within the reach of my limited coding chops! |
Appreciate you helping :) |
Hi,
Can we please remove the
rel
attribute from<img>
tags as it produces invalid html.Currently it produces html like:
This is invalid html according http://validator.w3.org/, see our page at http://validator.w3.org/check?uri=http%3A%2F%2Fbeta.n%20atlib.govt.nz
According to http://dev.w3.org/html5/spec-author-view/the-img-element.html#the-img-element the only valid attributes are the global attributes and:
Tested this locally and it works fine, specs are passing with no changes. I wasn't sure what I needed to do to in terms of testing as I had just removed an attribute, but if you could point me in the right direction I could add them if necessary.
Dave