documents: link addresses stay out of the log; tests for the link rules and the extended syntax
CI / platforms (windows-latest) (push) Failing after 8s
CI / site (push) Successful in 21s
CI / crate (push) Failing after 11m19s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-12 04:44:47 -04:00
1 parent 639521e109
commit bbb607106a
5 files changed
+92 -2

No files matched your search

+2 -1
View File
@@ -395,7 +395,8 @@ impl Draw<'_> {
/// Opens `url` through the owner, else the system.
fn open_link(on_link: &Option<OnLink>, url: &str, window: &mut Window, cx: &mut App) {
log::info!("markdown: open {url}");
// The address is the document's: never logged.
log::info!("markdown: a link opens");
match on_link {
Some(on_link) => on_link(url, window, cx),
None => cx.open_url(url),