1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-24 01:29:48 +02:00

enable mobile compatibility

This commit is contained in:
lxsang
2021-02-07 11:35:26 +01:00
parent 0c6d81ef93
commit 3f1530cfe8
4 changed files with 27 additions and 11 deletions

View File

@ -13,7 +13,7 @@ local pre_process_md = function(str, obj)
"%%-")
if apath then
apath = apath:gsub(" ", "%%%%20")
print(apath)
--print(apath)
content = content:gsub(pattern, "![](" .. HTTP_ROOT .. "/" ..
obj.name .. "/asset/" .. apath .. ")")
end