mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-25 12:34:19 +00:00
Fix TelegramWrite
of DiarioEntry
with warnings
This commit is contained in:
parent
082ab57b68
commit
c726d4cbc8
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ impl TelegramWrite for DiarioEntry {
|
|||
// Quote optionally covered by a spoiler tag
|
||||
match self.warning.to_owned() {
|
||||
None => write!(f, "<blockquote expandable>{}</blockquote>", self.clone().quote.escape_telegram_html())?,
|
||||
Some(warning) => write!(f, "<blockquote expandable><tg-spoiler>{}</tg-spoiler></blockquote>", warning.escape_telegram_html())?,
|
||||
Some(warning) => write!(f, "<blockquote expandable><tg-spoiler>{}</tg-spoiler></blockquote>", self.clone().quote.escape_telegram_html())?,
|
||||
}
|
||||
|
||||
// Newline
|
||||
|
|
Loading…
Reference in a new issue