Fix pattern syntax in sample readability custom reader.
This commit is contained in:
parent
039c7e925a
commit
1e48297304
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ local function handle_div(el)
|
|||
for i,k in ipairs(boring_attributes) do
|
||||
el.attributes[k] = nil
|
||||
end
|
||||
if el.identifier:match("readability-") then
|
||||
if el.identifier:match("readability%-") then
|
||||
el.identifier = ""
|
||||
end
|
||||
if #el.classes == 0 and #el.attributes == 0 and #el.identifier == 0 then
|
||||
|
|
Loading…
Reference in a new issue