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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user