Changeset 210
- Timestamp:
- 2007-03-14 14:22:47 (3 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 modified
-
editor/_source/internals/fck.js (modified) (1 diff)
-
editor/_source/internals/fckregexlib.js (modified) (1 diff)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fck.js
r205 r210 266 266 { 267 267 // <A> href 268 html = html.replace( FCKRegexLib.ProtectUrlsA , '$ 1$4$2$3$5$2 _fcksavedurl=$2$3$5$2' ) ;268 html = html.replace( FCKRegexLib.ProtectUrlsA , '$& _fcksavedurl=$1' ) ; 269 269 270 270 // <IMG> src 271 html = html.replace( FCKRegexLib.ProtectUrlsImg , '$ 1$4$2$3$5$2 _fcksavedurl=$2$3$5$2' ) ;271 html = html.replace( FCKRegexLib.ProtectUrlsImg , '$& _fcksavedurl=$1' ) ; 272 272 273 273 return html ; -
FCKeditor/trunk/editor/_source/internals/fckregexlib.js
r197 r210 76 76 // them. We have to do all in one, otherwhise we will have problems with URLs 77 77 // like "thumbnail.php?src=someimage.jpg" (SF-BUG 1554141). 78 ProtectUrlsImg : / (?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi ,79 ProtectUrlsA : / (?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi ,78 ProtectUrlsImg : /<img(?=\s).*?\ssrc=((?:("|').*?\2)|(?:[^"'][^ >]+))/gi , 79 ProtectUrlsA : /<a(?=\s).*?\shref=((?:("|').*?\2)|(?:[^"'][^ >]+))/gi , 80 80 81 81 Html4DocType : /HTML 4\.0 Transitional/i , -
FCKeditor/trunk/_whatsnew.html
r208 r210 111 111 is set to a block tag (p or div), the desired block creation in now enforced, instead 112 112 of copying the current block (which is still the behavior of the simple enter).</li> 113 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/209">#209</a>] Links and 114 images URLs will now be correctly preserved with Netscape 7.1.</li> 113 115 </ul> 114 116 <h3>