mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 23:07:12 +00:00
1 parent
7fd1564a86
commit
4cc158043e
1 file changed
+4
@@ -455,6 +455,10 @@ static NSData* _sanitizeContent(NSData *theData)
|
|||||||
{
|
{
|
||||||
if (*currentChar == '{')
|
if (*currentChar == '{')
|
||||||
inCSSDeclaration = YES;
|
inCSSDeclaration = YES;
|
||||||
|
if (*currentChar == '}')
|
||||||
|
// CSS syntax error: ending declaration character while not in a CSS declaration.
|
||||||
|
// Ignore eveything from last CSS declaration.
|
||||||
|
start = currentChar + 1;
|
||||||
else if (*currentChar == ',')
|
else if (*currentChar == ',')
|
||||||
hasEmbeddedCSS = NO;
|
hasEmbeddedCSS = NO;
|
||||||
else if (!hasEmbeddedCSS)
|
else if (!hasEmbeddedCSS)
|
||||||
|
|||||||
Reference in new issue
Block a user