From 1358205d432c418c6998898b90eb6598ac97a3ea Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Sat, 10 Apr 2004 04:08:26 +0000 Subject: [PATCH] Don't strip out whitespace inside
and
tags. Bug 238989 and bug 48376, r=choess, sr=peterv, a=brendan and asa respectively. git-svn-id: svn://10.0.0.236/trunk@154664 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/src/nsElementTable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/htmlparser/src/nsElementTable.cpp b/mozilla/htmlparser/src/nsElementTable.cpp index 0e0d8a7e6c2..06b2f7999f9 100644 --- a/mozilla/htmlparser/src/nsElementTable.cpp +++ b/mozilla/htmlparser/src/nsElementTable.cpp @@ -504,7 +504,7 @@ void InitializeElementTable(void) { /*rootnodes,endrootnodes*/ &gDLRootTags,&gRootTags, //fix bug 57634 /*autoclose starttags and endtags*/ 0,0,0,&gDTKids, // DT should not contain DL - bug 100466 /*parent,incl,exclgroups*/ kBlock, kSelf|kFlowEntity, kNone, - /*special props, prop-range*/ kOmitWS, kNoPropRange, + /*special props, prop-range*/ 0, kNoPropRange, /*special parents,kids,skip*/ 0,&gDLKids,eHTMLTag_unknown); Initialize( @@ -549,7 +549,7 @@ void InitializeElementTable(void) { /*rootnodes,endrootnodes*/ &gRootTags,&gRootTags, /*autoclose starttags and endtags*/ 0,0,0,0, /*parent,incl,exclgroups*/ kBlock, (kSelf|kFlowEntity), kNone, - /*special props, prop-range*/ kNoPropagate|kOmitWS,kDefaultPropRange, + /*special props, prop-range*/ kNoPropagate,kDefaultPropRange, /*special parents,kids,skip*/ 0,&gFieldsetKids,eHTMLTag_unknown); Initialize(