forked from projectmoon/tenebrous-dicebot
Remove nested <p> tags in error messages.
This commit is contained in:
parent
b05129ad9f
commit
de92fc8488
|
@ -62,7 +62,7 @@ impl From<crate::db::errors::DataError> for ExecutionError {
|
|||
impl ExecutionError {
|
||||
/// Error message in bolded HTML.
|
||||
pub fn html(&self) -> String {
|
||||
format!("<p><strong>{}</strong></p>", self.0)
|
||||
format!("<strong>{}</strong>", self.0)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue