documents: link addresses stay out of the log; tests for the link rules and the extended syntax
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
639521e109
commit
bbb607106a
5 files changed
+92
-2
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user