Mercurial > prosody-modules
changeset 4438:2bb11055e4bb
mod_pubsub_summary: Make titles *bold* to stand out more
Hard to see where each post starts in certain clients.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 10 Feb 2021 16:14:18 +0100 |
parents | 09657f758f53 |
children | 6ae1c7b9c58b |
files | mod_pubsub_summary/mod_pubsub_summary.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_pubsub_summary/mod_pubsub_summary.lua Wed Feb 10 16:06:30 2021 +0100 +++ b/mod_pubsub_summary/mod_pubsub_summary.lua Wed Feb 10 16:14:18 2021 +0100 @@ -32,7 +32,7 @@ end local summary; if title and content and content:sub(1, #title) ~= title then - summary = title .. "\n\n" .. content; + summary = "*" .. title .. "*\n\n" .. content; elseif title or content then summary = content or title; end