fixed PDT+ bug 3118; r=dcone
git-svn-id: svn://10.0.0.236/trunk@54163 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -912,7 +912,13 @@ nsresult CObserverService::Notify(eHTMLTags aTag,nsIParserNode& aNode,PRUint32 a
|
||||
nsAutoString theCharsetKey("charset");
|
||||
nsAutoString theSourceKey("charsetSource");
|
||||
nsAutoString intValue;
|
||||
|
||||
// Add pseudo attribute in the end
|
||||
|
||||
if(index>=47) index=47; //XXX HACK HACK HACK!!!!!
|
||||
//We really need to do a better job with attributes here.
|
||||
|
||||
|
||||
if(index < 50) {
|
||||
theKeys[index]=theCharsetKey.GetUnicode();
|
||||
theValues[index] = theCharsetValue.GetUnicode();
|
||||
|
||||
@@ -912,7 +912,13 @@ nsresult CObserverService::Notify(eHTMLTags aTag,nsIParserNode& aNode,PRUint32 a
|
||||
nsAutoString theCharsetKey("charset");
|
||||
nsAutoString theSourceKey("charsetSource");
|
||||
nsAutoString intValue;
|
||||
|
||||
// Add pseudo attribute in the end
|
||||
|
||||
if(index>=47) index=47; //XXX HACK HACK HACK!!!!!
|
||||
//We really need to do a better job with attributes here.
|
||||
|
||||
|
||||
if(index < 50) {
|
||||
theKeys[index]=theCharsetKey.GetUnicode();
|
||||
theValues[index] = theCharsetValue.GetUnicode();
|
||||
|
||||
Reference in New Issue
Block a user