Fixed: <rdar://problem/3951196> REGRESSION (Mail): too many levels of reply quotes...
authorcblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Feb 2005 21:36:03 +0000 (21:36 +0000)
committercblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 19 Feb 2005 21:36:03 +0000 (21:36 +0000)
commitf2203027d97095e50dadbcffd44181f687df0ed6
tree2fc6f2380045c1850339068f1af6c54fbed1a8d9
parent5397428e9f4a7fbc0930476b53b916b831f7e84f
Fixed: <rdar://problem/3951196> REGRESSION (Mail): too many levels of reply quotes after certain steps

        Reviewed by kocienda.

        * khtml/editing/htmlediting.cpp:
        (khtml::InsertParagraphSeparatorInQuotedContentCommand::doApply):
- If we find a new start node, update topBlockquote so we don't use too many block quotes for the contents following the new line.
- Build up the list of ancestors after we've determined the actual topBlockquote.
- Don't insert an extra new line if there is a new start node.

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