Changes between Initial Version and Version 2 of Ticket #1931


Ignore:
Timestamp:
Feb 27, 2008, 4:02:47 PM (12 years ago)
Author:
Frederico Caldeira Knabben
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1931

    • Property Summary changed from [2.6beta] ProtectedSource config doesn't work properly with Smarty to ProtectedSource config doesn't work properly inside attributes
    • Property Milestone changed from FCKeditor 2.6 to
  • Ticket #1931 – Description

    initial v2  
    11When using Smarty protection source in FCKEditor 2.6beta :
     2
     3{{{
    24FCKConfig.ProtectedSource.Add( /<\{[\s\S]*?\}>/g );
    35FCKConfig.ProcessHTMLEntities   = false ; //true
    4 
     6}}}
    57
    68The following code is broken when swithing between wysiwyg/source edition :
     9
     10{{{
    711<p><a href="{if $a=1}url1.htm{else}url2.htm{/if}">TEST</a></p>
    812<p>{if $a=1}url1.htm{else}url2.htm{/if}</p>
     13}}}
    914
    1015become :
     16
     17{{{
    1118<p><a href="%7Bif%20$a=1%7Durl1.htm%7Belse%7Durl2.htm%7B/if%7D">TEST</a></p>
    1219<p>{if $a=1}url1.htm{else}url2.htm{/if}</p>
     20}}}
    1321
    1422conclusion:
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy