diff options
author | Kim Alvefur <zash@zash.se> | 2020-10-12 18:27:42 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-10-12 18:27:42 +0200 |
commit | fdb82bc5938bcd60b7578ed112b40166c237cbc9 (patch) | |
tree | 83eb891856f5211bd1a40d2a4810875bbe3291e5 /plugins/mod_http_errors.lua | |
parent | 631a549f2b72b8c278658ef834b49ad785e7ea59 (diff) | |
download | prosody-fdb82bc5938bcd60b7578ed112b40166c237cbc9.tar.gz prosody-fdb82bc5938bcd60b7578ed112b40166c237cbc9.zip |
mod_http_errors: Remove 'extra' element when empty
Diffstat (limited to 'plugins/mod_http_errors.lua')
-rw-r--r-- | plugins/mod_http_errors.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http_errors.lua b/plugins/mod_http_errors.lua index 727b2516..a2138d88 100644 --- a/plugins/mod_http_errors.lua +++ b/plugins/mod_http_errors.lua @@ -57,7 +57,7 @@ p.extra { <body> <h1>{title}</h1> <p>{message}</p> -<p class="extra">{extra?}</p> +{extra&<p class="extra">{extra?}</p>} </body> </html> ]]; |