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


git-svn-id: svn://10.0.0.236/trunk@103641 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2001-09-24 22:34:47 +00:00
parent f1fb79c6f5
commit 6fec871479
2 changed files with 2 additions and 2 deletions

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) {