Skip to content

Commit

Permalink
Remove control characters added by fluent and rendered improperly by …
Browse files Browse the repository at this point in the history
…ratatui 0.27 (#152).
  • Loading branch information
apognu committed Aug 16, 2024
1 parent 7acf49d commit c1251d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ impl SafeDebug for Request {

macro_rules! fl {
($message_id:literal) => {{
i18n_embed_fl::fl!($crate::ui::MESSAGES, $message_id)
i18n_embed_fl::fl!($crate::ui::MESSAGES, $message_id).replace(&['\u{2068}', '\u{2069}'], "")
}};

($message_id:literal, $($args:expr),*) => {{
i18n_embed_fl::fl!($crate::ui::MESSAGES, $message_id, $($args),*)
i18n_embed_fl::fl!($crate::ui::MESSAGES, $message_id, $($args),*).replace(&['\u{2068}', '\u{2069}'], "")
}};
}

0 comments on commit c1251d1

Please sign in to comment.