Remove nested <p> tags in error messages.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b05129ad9f
commit
de92fc8488
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue