aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/tokenizers/tokenizers.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-22 00:21:24 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-22 00:21:24 +0100
commitce88665b0cd344fff4b2924448499b5a4ebe4f94 (patch)
treedf0b38bb05a065a5f16c1a7a0c1e77d1bac49d37 /src/libstat/tokenizers/tokenizers.c
parent5e99aef6caea1bc206825c20d51491a6571aec52 (diff)
downloadrspamd-ce88665b0cd344fff4b2924448499b5a4ebe4f94.tar.gz
rspamd-ce88665b0cd344fff4b2924448499b5a4ebe4f94.zip
[Rework] Html: Further rework of the tags content extraction
Diffstat (limited to 'src/libstat/tokenizers/tokenizers.c')
-rw-r--r--src/libstat/tokenizers/tokenizers.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstat/tokenizers/tokenizers.c b/src/libstat/tokenizers/tokenizers.c
index 2dd4a6f5a..b4f8ac75c 100644
--- a/src/libstat/tokenizers/tokenizers.c
+++ b/src/libstat/tokenizers/tokenizers.c
@@ -275,14 +275,6 @@ rspamd_tokenize_exception (struct rspamd_process_exception *ex, GArray *res)
g_array_append_val (res, token);
token.flags = 0;
}
- else if (ex->type == RSPAMD_EXCEPTION_INVISIBLE) {
- token.original.begin = "!!INV!!";
- token.original.len = sizeof ("!!INV!!") - 1;
- token.flags = RSPAMD_STAT_TOKEN_FLAG_EXCEPTION;
-
- g_array_append_val (res, token);
- token.flags = 0;
- }
}