aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua/unit/html.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-14 11:50:41 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-14 11:50:41 +0100
commit0cbb51f4c06a63707f1e42646f032eb479b87b55 (patch)
tree392435dc8f2c8fe06b7d86dcc2f3e57360158fb1 /test/lua/unit/html.lua
parente4ef32dfc97e0fee0e8b10efc99c158a9ce0161c (diff)
downloadrspamd-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.lua3
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>.&#102;&#105;&#114;&#101;&#98;&#97;&#115;&#101;&#97;&#112;&#112;.&#99;&#111;&#109;</body></html>]],
+ [[.firebaseapp.com]]},
{[[
<!DOCTYPE html>
<html lang="en">