Software /
code /
prosody
Diff
plugins/mod_http_errors.lua @ 11153:e4075ca84a1a
mod_http_errors: Use a class on extra data section
This CSS selector makes it awkward to add more items.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 12 Oct 2020 18:13:20 +0200 |
parent | 10574:f70c874b7936 |
child | 11154:dd81a318a794 |
line wrap: on
line diff
--- a/plugins/mod_http_errors.lua Sun Oct 11 20:25:32 2020 +0100 +++ b/plugins/mod_http_errors.lua Mon Oct 12 18:13:20 2020 +0200 @@ -41,7 +41,7 @@ font-size : x-large } -p+p { +p.extra { font-size : large; font-family : courier } @@ -50,7 +50,7 @@ <body> <h1>{title}</h1> <p>{message}</p> -<p>{extra?}</p> +<p class="extra">{extra?}</p> </body> </html> ]];