Could we help you? Please click the banners. We are young and desperately need the money
The TinyMCE editor always adds border="0" to img tags. This becomes annoying when using the HTML5 (strict) doctype because border="0" or similar tags are depreciated.
Edit /plugins/editors/tinymce/tinymce.php and change the array $elements like this
Original line:
$elements[] = 'img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|style]';New line (without border=0, height, width, align, vspace, hspace)
$elements[] = 'img[class|src|alt|title|onmouseover|onmouseout|name|style]';
The easiest way to find the correct line is by searching for "border=0" within the file.
Hint: For the current version (1.5) the line can be found @ line #412