Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Entering the following in the editor
- "Go ahead...
- Go ahead...
- Go ahead..."
- // Logging
- console.log($('#editor').cleanHtml());
- // Expecting
- "<p>Go ahead...</p><p>Go ahead...</p><p>Go ahead...</p>"
- // Got
- "
- Go ahead...<div><br></div><div>Go ahead...<br></div><div><br></div><div>Go ahead...</div>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement