Reviewed by Hyatt
Fix for this bug:
<rdar://problem/
3775316> document sprouts an extra newline character at the end
* khtml/editing/htmlediting_impl.cpp:
(khtml::InputNewlineCommandImpl::doApply): There was in insufficient check
in the code which adds extra BR elements at the ends of blocks, which we do
to work around the fact that BR elements, when they are the last element in a
block, do not render. Now the code sees whether there already is one of these
extra BR's in the document and won't add and "extra" extra.
* layout-tests/editing/inserting/insert-
3775316-fix.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7375
268f45cc-cd09-0410-ab3c-
d52691b4dbfc