Mercurial Hosting > lang
diff src/private/tools/chats.html.luan @ 65:ecb851fabd75
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 22 Aug 2025 05:51:22 -0600 |
parents | e8f632349db7 |
children |
line wrap: on
line diff
--- a/src/private/tools/chats.html.luan Fri Aug 22 03:00:53 2025 -0600 +++ b/src/private/tools/chats.html.luan Fri Aug 22 05:51:22 2025 -0600 @@ -1,6 +1,8 @@ local Luan = require "luan:Luan.luan" local error = Luan.error local ipairs = Luan.ipairs or error() +local Html = require "luan:Html.luan" +local html_encode = Html.encode or error() local Io = require "luan:Io.luan" local Http = require "luan:http/Http.luan" local Shared = require "site:/lib/Shared.luan" @@ -35,6 +37,7 @@ <tr> <td><%= chat.language_name() %></td> <td><a href="chat.html?chat=<%=chat.id%>&markdown=on"><%= chat.name_html() %></a></td> + <td><%= html_encode(chat.get_user().email) %></td> </tr> <% end %> </table>