Strip quotes from inside col/row-specs (where there should be no quotes to

start with, but some sites just code like that).  Bug 224598, patch by
mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
This commit is contained in:
bzbarsky%mit.edu 2003-11-07 04:26:30 +00:00
parent 1fe327c42e
commit bdab240b09

View File

@ -439,9 +439,9 @@ nsHTMLFrameSetElement::ParseRowColSpec(nsString& aSpec,
static const PRUnichar sPercent('%');
static const PRUnichar sComma(',');
// remove whitespace (Bug 33699)
// remove whitespace (Bug 33699) and quotation marks (bug 224598)
// also remove leading/trailing commas (bug 31482)
aSpec.StripChars(" \n\r\t");
aSpec.StripChars(" \n\r\t\"\'");
aSpec.Trim(",");
// Count the commas