Opened 18 years ago
Closed 18 years ago
#278 closed Bug (invalid)
ColdFusion Tags Wrongly & Automatically Closed
Reported by: | Tony | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
I have downloaded the latest version of FCKEditor (2.4.1), and yet this same bug exists. Whenever I open up a coldfusion page that has any coldfusion tags (<cfset>, <cfcase>, etc.), it automatically inserts that tag's closing tag right after it (</cfset>, </cfcase>). Even after I take it out via the source button, I return back to the source page to find that closing tag I just deleted return right back where I got rid of it. As you can tell, it is seriously screwing up my code and the page's ability to execute. Why is this happening and can it be stopped? If so, how?
Tony
The browser tries to parse the html that you provide, so it closes any tags that it finds open. Use the protected source feature (look at fckconfig.js) to protect those coldfusion tags.