Switching between HTML and Normal Tab would corrupt nested quoted text inside html tags

  •  02-28-2012, 12:05 PM

    Switching between HTML and Normal Tab would corrupt nested quoted text inside html tags

    Hello,
     
    I have the following bug: (Can be replicated using any of the examples/demos of the editor);
     
    1. Type in the following:  "<a href="javascript:alert('text');">test</a>" into HTML tab
    2. Switch to Normal Tab
    3. Switch back to HTML tab
    4. Editor would change the typed in URL into the following:  <a href="javascript:alert(" text');"text');">test</a>
     
     There problem seems to be with nested single/double quotes within HTML/Javascript code.
     
    Looking forward to the solution or a work around.
    Thank you 
     
     
View Complete Thread