diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-14 11:50:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-06-14 11:50:41 +0100 |
commit | 0cbb51f4c06a63707f1e42646f032eb479b87b55 (patch) | |
tree | 392435dc8f2c8fe06b7d86dcc2f3e57360158fb1 /test/lua/unit/html.lua | |
parent | e4ef32dfc97e0fee0e8b10efc99c158a9ce0161c (diff) | |
download | rspamd-0cbb51f4c06a63707f1e42646f032eb479b87b55.tar.gz rspamd-0cbb51f4c06a63707f1e42646f032eb479b87b55.zip |
[Fix] Html: Fix processing of fjlig entity
TODO: Make a generic fix
Diffstat (limited to 'test/lua/unit/html.lua')
-rw-r--r-- | test/lua/unit/html.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lua/unit/html.lua b/test/lua/unit/html.lua index 68ee7d1eb..79d55502e 100644 --- a/test/lua/unit/html.lua +++ b/test/lua/unit/html.lua @@ -4,6 +4,9 @@ context("HTML processing", function() test("Extract text from HTML", function() local cases = { + -- Entities + {[[<html><body>.firebaseapp.com</body></html>]], + [[.firebaseapp.com]]}, {[[ <!DOCTYPE html> <html lang="en"> |