0011009.patch

Administrator Admin, 2009-06-18 09:20

Download (1014 Bytes)

 
typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (Arbeitskopie)
178 178
			this.editor._doc.execCommand("UnLink", false, null);
179 179
		}
180 180
		if (HTMLArea.is_gecko && !HTMLArea.is_safari && !HTMLArea.is_opera) {
181
			this.editor._doc.execCommand("CreateLink", false, encodeURIComponent(theLink));
181
			this.editor._doc.execCommand("CreateLink", false, encodeURI(theLink));
182 182
		} else {
183 183
			this.editor._doc.execCommand("CreateLink", false, theLink);
184 184
		}
......
272 272
					}
273 273
				}
274 274
				if (HTMLArea.is_gecko && !HTMLArea.is_safari && !HTMLArea.is_opera) {
275
					node.href = decodeURIComponent(node.href);
275
					node.href = decodeURI(node.href);
276 276
				}
277 277
				if (cur_target.trim()) node.target = cur_target.trim();
278 278
					else node.removeAttribute("target");