mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (C) 2005-2013 Inverse inc.
|
||||
Copyright (C) 2005-2022 Inverse inc.
|
||||
|
||||
This file is part of SOGo.
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include <Foundation/NSValue.h>
|
||||
#include <Foundation/NSException.h>
|
||||
|
||||
#import <NGExtensions/NSString+misc.h>
|
||||
|
||||
//
|
||||
// Useful macros
|
||||
//
|
||||
@@ -1456,7 +1458,7 @@ inline static void parseUl(RTFHandler *self, BOOL hasArg, int arg, RTFFormatting
|
||||
else
|
||||
active_charset = defaultCharset;
|
||||
|
||||
s = [NSString stringWithCharacters: &(active_charset[c]) length: 1];
|
||||
s = [[NSString stringWithCharacters: &(active_charset[c]) length: 1] stringByEscapingHTMLString];
|
||||
d = [s dataUsingEncoding: NSUTF8StringEncoding];
|
||||
[_html appendData: d];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user