Ticket #681: 681_cfm.patch
File 681_cfm.patch, 849 bytes (added by , 16 years ago) |
---|
-
editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm
37 37 <cfset text = text & "%" & CRLF 38 38 & "^A" & CRLF 39 39 & "!" & CRLF> 40 <cfloop list="#URLDecode(field)#" index="line" delimiters="#CRLF#"> 40 <!--- Strip all tags for the text. (by FredCK - #339 / #681) ---> 41 <cfset field = REReplace(URLDecode(field), "<[^>]+>", " ", "all")> 42 <cfloop list="#field#" index="line" delimiters="#CRLF#"> 41 43 <cfset text = ListAppend(text, "^" & Trim(JSStringFormat(line)), CRLF)> 42 44 </cfloop> 43 45 </cfloop>