diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-23 19:45:46 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-23 19:45:46 +0000 |
commit | afc16fc2d120e780220cddc03350122ad8e672fc (patch) | |
tree | 5ba0b1bb3ced704a516e0c1df59a1e736aa2e334 /protocols/Skype/src/skype_proto.h | |
parent | 5dec14aae90a4ea4f16a6e2b57d52375599b90c0 (diff) |
remove html tags (thx Robyer)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2819 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r-- | protocols/Skype/src/skype_proto.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index bd2f8ed109..cce9a776f2 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -115,6 +115,23 @@ const SettingItem setting[]={ {LPGENT("About"), "About", DBVT_WCHAR, LI_STRING}
};
+struct HtmlEntity
+{
+ const char *entity;
+ char symbol;
+};
+
+const HtmlEntity htmlEntities[]={
+ {"nbsp", ' '},
+ {"amp", '&'},
+ {"quot", '"'},
+ {"lt", '<'},
+ {"gt", '>'},
+ {"apos", '\''},
+ {"copy", '©'},
+ // TODO: add more
+};
+
struct InviteChatParam
{
char *id;
@@ -358,6 +375,8 @@ protected: static char CharBase64[];
static ULONG Base64Encode(char *inputString, char *outputBuffer, SIZE_T nMaxLength);
+ static char *RemoveHtml(char *data);
+
// instances
static LIST<CSkypeProto> instanceList;
static int CompareProtos(const CSkypeProto *p1, const CSkypeProto *p2);
|