Changes between Initial Version and Version 2 of Ticket #1931
- Timestamp:
- Feb 27, 2008, 4:02:47 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1931
-
Property
Summary
changed from
[2.6beta] ProtectedSource config doesn't work properly with Smarty
toProtectedSource config doesn't work properly inside attributes
-
Property
Milestone
changed from
FCKeditor 2.6
to
-
Property
Summary
changed from
-
Ticket #1931 – Description
initial v2 1 1 When using Smarty protection source in FCKEditor 2.6beta : 2 3 {{{ 2 4 FCKConfig.ProtectedSource.Add( /<\{[\s\S]*?\}>/g ); 3 5 FCKConfig.ProcessHTMLEntities = false ; //true 4 6 }}} 5 7 6 8 The following code is broken when swithing between wysiwyg/source edition : 9 10 {{{ 7 11 <p><a href="{if $a=1}url1.htm{else}url2.htm{/if}">TEST</a></p> 8 12 <p>{if $a=1}url1.htm{else}url2.htm{/if}</p> 13 }}} 9 14 10 15 become : 16 17 {{{ 11 18 <p><a href="%7Bif%20$a=1%7Durl1.htm%7Belse%7Durl2.htm%7B/if%7D">TEST</a></p> 12 19 <p>{if $a=1}url1.htm{else}url2.htm{/if}</p> 20 }}} 13 21 14 22 conclusion: