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