Making view source load its stylesheet even when highlighting is off --

it's needed for wrap and the like.  bug 22022, r=rbs,doron sr=alecf
This commit is contained in:
bzbarsky@mit.edu
2001-09-24 22:34:47 +00:00
parent c4698325f2
commit 24b9e4d521
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -526,7 +526,7 @@ NS_IMETHODIMP CViewSourceHTML::BuildModel(nsIParser* aParser,nsITokenizer* aToke
// Note that XUL with automatically add the prefix "Source of: "
mSink->SetTitle(mFilename);
if (mSyntaxHighlight && theAllocator) {
if (theAllocator) {
tag.Assign(NS_LITERAL_STRING("LINK"));
CStartToken* theToken=NS_STATIC_CAST(CStartToken*,theAllocator->CreateTokenOfType(eToken_start,eHTMLTag_link,tag));
if(theToken) {