aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_errors.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-12 18:13:20 +0200
committerKim Alvefur <zash@zash.se>2020-10-12 18:13:20 +0200
commit6e982fc011373f7f2bd55e318efee5aba41ef97e (patch)
tree21309ed6e68e6874e132ecfed7053b86d0d0f9c6 /plugins/mod_http_errors.lua
parent1adf1d813b9e1ddb3578d55f22e5e77c45877f49 (diff)
downloadprosody-6e982fc011373f7f2bd55e318efee5aba41ef97e.tar.gz
prosody-6e982fc011373f7f2bd55e318efee5aba41ef97e.zip
mod_http_errors: Use a class on extra data section
This CSS selector makes it awkward to add more items.
Diffstat (limited to 'plugins/mod_http_errors.lua')
-rw-r--r--plugins/mod_http_errors.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_http_errors.lua b/plugins/mod_http_errors.lua
index e151a68e..1abdc57e 100644
--- a/plugins/mod_http_errors.lua
+++ b/plugins/mod_http_errors.lua
@@ -41,7 +41,7 @@ p {
font-size : x-large
}
-p+p {
+p.extra {
font-size : large;
font-family : courier
}
@@ -50,7 +50,7 @@ p+p {
<body>
<h1>{title}</h1>
<p>{message}</p>
-<p>{extra?}</p>
+<p class="extra">{extra?}</p>
</body>
</html>
]];