mirror of https://github.com/zkat/miette.git
fix(narrated): put URLs in their own line
This makes it easier for screen readers to access/visit.
This commit is contained in:
parent
be3b254751
commit
adbff65e4e
|
|
@ -118,7 +118,7 @@ impl NarratableReportHandler {
|
||||||
writeln!(f, "diagnostic code: {}", code)?;
|
writeln!(f, "diagnostic code: {}", code)?;
|
||||||
}
|
}
|
||||||
if let Some(url) = diagnostic.url() {
|
if let Some(url) = diagnostic.url() {
|
||||||
writeln!(f, "For more details, see {}", url)?;
|
writeln!(f, "For more details, see:\n{}", url)?;
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue