Landing new txt to HTML scanning functionality - Bug #: 19251 - r: rhp (contributed by Ben Bucksch)

git-svn-id: svn://10.0.0.236/trunk@55395 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rhp%netscape.com
1999-12-06 04:53:29 +00:00
parent 509d1e72ed
commit 9fface217d
26 changed files with 263 additions and 388 deletions

View File

@@ -1003,6 +1003,7 @@ nsHTMLContentSinkStream::AddLeaf(const nsIParserNode& aNode){
else if (type == eHTMLTag_text)
{
const nsString& text = aNode.GetText();
printf("Leaf text node: '%s'\n", text.ToNewCString());
if (!mDoFormat || preformatted)
{
Write(text);