Reviewed by John
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Jan 2005 15:59:36 +0000 (15:59 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Jan 2005 15:59:36 +0000 (15:59 +0000)
commitb715e925023703b0e470d342b637632c9a54b007
tree860473dbde9e54b128531af41a25566ca2b2ea7f
parentf03d65cccd56f85f5480a8c65e460f0dc4d9c798
    Reviewed by John

        Fix for this bug:

        <rdar://problem/3926522> Pressing return in a quoted block inserts too many newlines

        * khtml/editing/htmlediting.cpp:
        (khtml::InsertParagraphSeparatorInQuotedContentCommand::doApply): Call to insertBlockPlaceholderIfNeeded()
        for the block we are adding was being done at the wrong time, which led to the placeholder remaining
        in the document when it was not needed. This resulted in the extra space reported in the bug.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/htmlediting.cpp