Bug 52106
| Summary: | REGRESSION: CKEditor Source View Converts Markup, adds <p> tags | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Fischer <estranged> | 
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> | 
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ap, enrica, kevin, rniwa, tim | 
| Priority: | P1 | Keywords: | InRadar, Regression | 
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.6 | ||
| Bug Depends on: | |||
| Bug Blocks: | 9915 | ||
          Mark Fischer
          
          
          
          
        
        
      The nightly builds seem to be adding extra <p> tags when toggling between source view and markup, and then converts all markup to html entity codes.
1. Visit http://ckeditor.com/demo
2. Click the "Source" button once.
3. Click the "Source" button again.
This does not happen with Safari 5.0.3 6533.19.4
    | Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. | 
          Kevin M. Dean
          
          
          
          
        
        
      I see similar oddities with the TinyMCE editor as well when viewing the HTML source and using it's Cleanup Messy Code function. Works fine in Safari, but not in Webkit.
http://tinymce.moxiecode.com/tryit/full.php
    
          Kevin M. Dean
          
          
          
          
        
        
      The problem with both editors begins between Nightly r72487 and r72783.
It also affects PPC 10.5.8.
    
          Alexey Proskuryakov
          
          
          
          
        
        
      <rdar://problem/8896038>
    
          Kevin M. Dean
          
          
          
          
        
        
      Just posting to indicate that this problem is still around.
    
          Ryosuke Niwa
          
          
          
          
        
        
      Confirmed on nightly r79746.  This might be a duplicate of https://bugs.webkit.org/show_bug.cgi?id=54978.
    
          Ryosuke Niwa
          
          
          
          
        
        
      Could someone from CKEditor make a reduction?  The script on the page is very complicated and it'll be much easier for us to debug if we had a simpler html/javascript that demonstrates the cause of this bug.
    
          Ryosuke Niwa
          
          
          
          
        
        
      This indeed was a duplicate of 54978.  The bug no longer reproduces on the nightly r80210.
*** This bug has been marked as a duplicate of bug 54978 ***