Revert "fix: escape original_content" (#8)

This reverts commit 1634abb9cd.
This commit is contained in:
yetone
2024-08-15 16:01:56 +08:00
committed by GitHub
parent 2951217a68
commit 036ce7e77e
2 changed files with 0 additions and 5 deletions

View File

@@ -4,8 +4,4 @@ function M.trim_suffix(str, suffix)
return string.gsub(str, suffix .. "$", "")
end
function M.escape(str)
return string.gsub(str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1")
end
return M