﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2608	Removing carriage return invalidate Javascript	dreamage		"The following line in FCKEditor.java

String encodedValue = escapeXml(value.replaceAll(""((\r?\n)+|\t*)"", """"));

remove carriage return, but this can destroy Javascript code entered in FCK if the Javascript use line comments.

For example

//a comment here

var i = 2;

- becomes -

//a comment var i = 2;

so no more variable declaration.

I don't know what can be done for fix that. Leaving the carriage return in the value attribute of the hidden field seems to be working in IE7 and FF3, but I don't think this is valid XHTML."	Bug	new	Normal		Server : Java	FCKeditor.Java 2.4			
