I'm currently developing a website using XHTML 1.0 Transitional. Obviously I use CKEditor. When making an image a link (by inserting the image, selecting it then clicking the URL-button) I get the following error when validating it using W3C's online validator:
Validation Output: 1 Error
Error Line 78, Column 61: there is no attribute "multilinks-noscroll"
…se/?page=hudvard" multilinks-noscroll="true" target="_blank"><img alt="" src="…
Entire link: <a href="http://-removed-/?page=hudvard" multilinks-noscroll="true" target="_blank"><img alt="" src="-removed-" style="width: 140px; height: 205px;"></a>
Everything else checks out, including all content generated by CKeditor, but not this. Is it possible to disable something to prevent CKEditor from adding this tag?
It's quite important since I want the website to validate for XHTML 1.0 Transitional.
Sat, 05/05/2012 - 21:39
#1
Re: XHTML 1.0 error: multilinks-noscroll
You can add a filter to CKEditor to filter that out, but the best solution seems to fix whatever is creating it in the first place.
Re: XHTML 1.0 error: multilinks-noscroll
..what. I just removed the images, saved the page, added a different image, made it link to Google and now it validates just fine. I've been haunted by weird bugs ever since I started with webdeveloping. Yesterday when changing something in my CSS my menu turned pink all of a sudden, despite being set to #e8e3ce.
Checked in both Chrome and Firefox and it works just.. fine, for whatever reason. Anyway, thanks! It's working now and I have no idea what broke it in the first place, as usual with my websites.
Edit: I managed to replicate it. When not assigning any target then the mulitlinks-noscroll isn't there, but add target blank and poof, it's there.
Re: XHTML 1.0 error: multilinks-noscroll
Ok, but which browser do you use when it fails?
Re: XHTML 1.0 error: multilinks-noscroll
Oh but for the love of.. now it validates in Chrome & Firefox with an image-link with target="_blank", a few moments ago it didn't (of course I removed that image & now added another one; same image, same settings, same link, only this one validates). As I said, haunted by weird bugs. I honestly have no idea what's going on and now I strongly doubt it has anything to do with CKEditor so there's no point to this thread. Thanks for your help anyway!