mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-22 02:54:21 +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
|
// Quote optionally covered by a spoiler tag
|
||||||
match self.warning.to_owned() {
|
match self.warning.to_owned() {
|
||||||
None => write!(f, "<blockquote expandable>{}</blockquote>", self.clone().quote.escape_telegram_html())?,
|
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
|
// Newline
|
||||||
|
|
Loading…
Reference in a new issue