﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
971	"""scr"" and ""alt"" link tags are always reversed"	Lloyd Standish		"In an link (<a>) the ""alt"" and ""src"" attributes are always switched in order at the time FCKeditor parses the html.  Example:
{{{
<a href=""http://www.rimuhosting.com""><img width=""120"" height=""60"" border=""0"" align=""right"" alt=""Rimuhosting Virtual Private Servers"" src=""images/rh_vpspowered_120_60.jpg"" /></a>
}}}

This link when parsed by FCKeditor will have the ""alt"" and ""src"" attributes reversed.  This means that the link output by FCKeditor is always different from the original link.

This is a problem for programs that need to determine when text has changed by using a hash, such as md5.  For example, my FCKeditor-based web editor allows viewing and editing SSI-included files (#inlcude virtual= 'xxx'), and uses md5 hash to determine when such included files have been changed and need to be saved to disk.  Due to the attribute-switching, the ""included"" html block, although unchanged by the user, will always fail the md5 test and an unnecessary save to disk is done."	Bug	closed	Normal		General	FCKeditor 2.4.3	duplicate		
