Backing out change to write the override charset in a meta tag.

The charset menu should be changing the meta tag in the document,
which the output sink will pick up automatically without needing
any special code.  See bugs 12085 (on seeing two meta charset tags)
and 7849 (that the charset menu should change the actual meta tag
in the document).


git-svn-id: svn://10.0.0.236/trunk@46850 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
akkana%netscape.com
1999-09-10 22:32:32 +00:00
parent b12bd8ba7d
commit d444fffb40
2 changed files with 0 additions and 18 deletions

View File

@@ -935,15 +935,6 @@ void nsHTMLContentSinkStream::AddStartTag(const nsIParserNode& aNode)
if (tag == eHTMLTag_head)
{
if (mCharsetOverride.Length() > 0)
{
Write(NS_LINEBREAK);
Write("<meta http-equiv=\"Content-Type\" content=\"text/html\"; charset=\"");
Write(mCharsetOverride);
Write("\">");
Write(NS_LINEBREAK);
}
if(mDoHeader)
{
Write(gHeaderComment);