Mercurial Hosting > luan
comparison src/luan/modules/Html.luan @ 1307:6c8ceca4a10b
json fixes
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 23 Jan 2019 13:34:18 -0700 |
parents | 9dca1e912658 |
children | a015a0b5c388 |
comparison
equal
deleted
inserted
replaced
1306:97e7c25e9e70 | 1307:6c8ceca4a10b |
---|---|
13 | 13 |
14 | 14 |
15 local Html = {} | 15 local Html = {} |
16 | 16 |
17 Html.encode = HtmlLuan.encode | 17 Html.encode = HtmlLuan.encode |
18 Html.javascript_encode = JsonToString.encodeString | 18 Html.javascript_encode = JsonToString.javascriptEncode |
19 | 19 |
20 local quote = HtmlLuan.quote | 20 local quote = HtmlLuan.quote |
21 Html.quote = quote | 21 Html.quote = quote |
22 | 22 |
23 function Html.parse(text,container_tags) | 23 function Html.parse(text,container_tags) |