I'm using the code from cdbaby's link maker, and every time I go in to reedit the page that contains this code, important elements of the code are stripped out.
Here's the original code provided by cdbaby's link maker (http://www.cdbaby.com/link):
<div style='width:125px; height:40px; margin:0; padding:0; border:0; background-image:url(http://www.cdbaby.com/Images/Links/Black-Buy_CD_nothumb.jpg);'><a href='http://www.cdbaby.com/cd/raycooper' style='display:block; width:125px; height:40px; margin:0; border:0;'></a></div>
After saving, if I go in and re-edit the page, either using fckeditor or switching to "source" from the fckeditor, the code instead looks like this:
<div style="border: 0pt none ; margin: 0pt; padding: 0pt; width: 125px; height: 40px; background-image: url(http://www.cdbaby.com/Images/Links/Black-Buy_CD_nothumb.jpg);"></div>
As you can see, fckeditor stripped out the entire *link* portion of the code created by linkmaker, meaning these buttons no longer work =c( Any ideas?
Comments
Comment #1
Jorrit commentedIt appears that FCKeditor can't handle empty links. Add
in the<a>tag to circumvent this.