SVN commit 704720 by charles: don't sometimes take text far past the end of the block's margin on justified text. I committed a patch which does this exact same thing in 2005 (484974), but for whatever reason, it seemed to be reproducable again, so here's the "rest" of it. M +1 -1 bidi.cpp --- branches/KDE/3.5/kdelibs/khtml/rendering/bidi.cpp #704719:704720 @@ -2048,7 +2048,7 @@ } } - bool canPlaceOnLine = (w + tmpW <= width+1) || !autoWrap; + bool canPlaceOnLine = (w + tmpW <= width) || !autoWrap; if (canPlaceOnLine && checkForBreak) { w += tmpW; tmpW = 0;