Changeset 2224
- Timestamp:
- 07/15/08 13:16:58 (5 years ago)
- Location:
- FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor
- Files:
-
- 2 edited
-
FCKeditor.java (modified) (2 diffs)
-
FCKeditorConfig.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/FCKeditor.java
r2210 r2224 202 202 * 2.4 StringUtils#replaceEach(String, String[], String[]) 203 203 */ 204 str = str.replaceAll("&", "& #38;");205 str = str.replaceAll("<", "& #60;");206 str = str.replaceAll(">", "& #62;");207 str = str.replaceAll("\"", "& #34;");204 str = str.replaceAll("&", "&"); 205 str = str.replaceAll("<", "<"); 206 str = str.replaceAll(">", ">"); 207 str = str.replaceAll("\"", """); 208 208 str = str.replaceAll("'", "'"); 209 209 return str; … … 251 251 instanceName); 252 252 if (Utils.isNotEmpty(toolbarSet)) 253 sLink += "& #38;Toolbar=".concat(toolbarSet);253 sLink += "&Toolbar=".concat(toolbarSet); 254 254 XHtmlTagTool iframeTag = new XHtmlTagTool("iframe", XHtmlTagTool.SPACE); 255 255 iframeTag.addAttribute("id", instanceName.concat("___Frame")); -
FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/FCKeditorConfig.java
r2210 r2224 62 62 for (Map.Entry<String, String> entry : this.entrySet()) { 63 63 if (Utils.isNotEmpty(entry.getValue())) { 64 osParams.append("& #38;");64 osParams.append("&"); 65 65 osParams.append(URLEncoder.encode(entry.getKey(),"UTF-8")); 66 66 osParams.append("=");
Note: See TracChangeset
for help on using the changeset viewer.
