(css) Fix server-side CSS cleaner

Fixes #4366
This commit is contained in:
Francis Lachapelle
2018-01-17 13:58:42 -05:00
parent d4c8f5089b
commit bca655ffdd
2 changed files with 3 additions and 2 deletions

View File

@@ -288,8 +288,8 @@ _xmlCharsetForCharset (NSString *charset)
}
else
{
// Prefix CSS rule
length = (currentChar - start);
// Prefix CSS rule including ending curly bracket
length = (currentChar - start) + 1;
[declaration appendString: [NSString stringWithCharacters: start length: length]];
[css appendFormat: @".SOGoHTMLMail-CSS-Delimiter %@\n", declaration];
start = currentChar;