Skip to content

Commit

Permalink
fix(narrated): put URLs in their own line
Browse files Browse the repository at this point in the history
This makes it easier for screen readers to access/visit.
  • Loading branch information
zkat committed Apr 18, 2023
1 parent a5759ef commit 8db9f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/narratable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl NarratableReportHandler {
writeln!(f, "diagnostic code: {}", code)?;
}
if let Some(url) = diagnostic.url() {
writeln!(f, "For more details, see {}", url)?;
writeln!(f, "For more details, see:\n{}", url)?;
}
Ok(())
}
Expand Down

0 comments on commit 8db9f2c

Please sign in to comment.