Changeset 671 for trunk


Ignore:
Timestamp:
01/16/07 10:59:34 (13 years ago)
Author:
ray
Message:

see #445

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r669 r671  
    50875087    +"</style>\n"; 
    50885088     
    5089     if(/<head>/i.test(html)) 
     5089    if( html && /<head>/i.test(html)) 
    50905090    { 
    50915091      return html.replace(/<head>/i, '<head>' + coreCSS);       
    50925092    } 
    5093      
    5094     return coreCSS + html;      
     5093    else if ( html) 
     5094    { 
     5095      return coreCSS + html; 
     5096    } 
     5097    else 
     5098    { 
     5099      return coreCSS; 
     5100    } 
    50955101} 
    50965102 
Note: See TracChangeset for help on using the changeset viewer.