From 2576b7dde8dd6b222136fc1ceeefbfa5586553b2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 9 Sep 2019 17:21:44 +0100 Subject: [Minor] Relax rtf magic as M$ does Mentioned by: Greg Copenhaver --- lualib/lua_magic/patterns.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lualib/lua_magic/patterns.lua') diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua index 1ac18c8ea..f0759de5d 100644 --- a/lualib/lua_magic/patterns.lua +++ b/lualib/lua_magic/patterns.lua @@ -55,8 +55,8 @@ local patterns = { rtf = { matches = { { - string = [[{\\rtf\d]], - position = 6, + string = [[{\\rt]], + position = 4, weight = 60, } } -- cgit v1.2.3