aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/custom-readers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/custom-readers.md b/doc/custom-readers.md
index be14a1154..08ee7e889 100644
--- a/doc/custom-readers.md
+++ b/doc/custom-readers.md
@@ -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