Remove nested <p> tags in error messages.

This commit is contained in:
projectmoon 2021-05-26 07:06:00 +00:00
parent b05129ad9f
commit de92fc8488
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ impl From<crate::db::errors::DataError> for ExecutionError {
impl ExecutionError { impl ExecutionError {
/// Error message in bolded HTML. /// Error message in bolded HTML.
pub fn html(&self) -> String { pub fn html(&self) -> String {
format!("<p><strong>{}</strong></p>", self.0) format!("<strong>{}</strong>", self.0)
} }
} }