From kde-commits Wed Jan 26 11:20:09 2005 From: Allan Sandfeld Jensen Date: Wed, 26 Jan 2005 11:20:09 +0000 To: kde-commits Subject: kdelibs/khtml/xml Message-Id: <20050126112009.9F9A41BB0A () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=110673846432244 CVS commit by carewolf: Better not ignore white-space only blocks in pre-line and pre-wrap either M +1 -1 dom_textimpl.cpp 1.107 --- kdelibs/khtml/xml/dom_textimpl.cpp #1.106:1.107 @@ -392,5 +392,5 @@ bool TextImpl::rendererIsNeeded(RenderSt } - if (style->whiteSpace() == PRE) { + if (style->preserveWS() || style->preserveLF()) { return true; }