mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update util.lua
This commit is contained in:
@@ -71,7 +71,7 @@ function _M.data_filter(content)
|
||||
-- b = b:gsub("%s+", " ")
|
||||
-- return "<script" .. attrs .. ">" .. b .. "</script>"
|
||||
-- end)
|
||||
return content:gsub("[\r\n]+", ""):gsub(">%s+<", "><")
|
||||
return content:gsub(">[%s\r\n]+<", "><")
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user