Mercurial Hosting > lang
comparison src/private/tools/chat.html.luan @ 34:0fb3488a017d
show_text
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 04 Aug 2025 23:06:19 -0600 |
parents | 46097e607701 |
children | cc20eebaa74a |
comparison
equal
deleted
inserted
replaced
33:7d9462ea03e3 | 34:0fb3488a017d |
---|---|
1 local Luan = require "luan:Luan.luan" | 1 local Luan = require "luan:Luan.luan" |
2 local error = Luan.error | 2 local error = Luan.error |
3 local Parsers = require "luan:Parsers.luan" | |
4 local json_string = Parsers.json_string or error() | |
3 local Io = require "luan:Io.luan" | 5 local Io = require "luan:Io.luan" |
4 local Http = require "luan:http/Http.luan" | 6 local Http = require "luan:http/Http.luan" |
5 local Shared = require "site:/lib/Shared.luan" | 7 local Shared = require "site:/lib/Shared.luan" |
6 local head = Shared.head or error() | 8 local head = Shared.head or error() |
7 local header = Shared.header or error() | 9 local header = Shared.header or error() |
37 <% chat.output_messages_html() %> | 39 <% chat.output_messages_html() %> |
38 </div> | 40 </div> |
39 </div> | 41 </div> |
40 <% if process_markdown then %> | 42 <% if process_markdown then %> |
41 <script> | 43 <script> |
42 handleMarkdown(); | 44 handleMarkdown(<%=json_string(chat.language_region)%>,<%=json_string(chat.voice)%>); |
43 </script> | 45 </script> |
44 <% end %> | 46 <% end %> |
45 </body> | 47 </body> |
46 </html> | 48 </html> |
47 <% | 49 <% |