From 0945b21710e861daabb106fae16cd9624d4c3f3d Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 12 Feb 2024 01:07:22 -0800 Subject: [PATCH] disable inline image renderer for now Signed-off-by: William Casarin --- src/app.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/app.rs b/src/app.rs index 1da5a9f4..94ed0837 100644 --- a/src/app.rs +++ b/src/app.rs @@ -658,15 +658,17 @@ fn render_note_contents( } BlockType::Url => { + /* let url = block.as_str().to_lowercase(); if url.ends_with("png") || url.ends_with("jpg") { images.push(url); } else { - ui.add(Hyperlink::from_label_and_url( - RichText::new(block.as_str()).color(PURPLE), - block.as_str(), - )); - } + */ + ui.add(Hyperlink::from_label_and_url( + RichText::new(block.as_str()).color(PURPLE), + block.as_str(), + )); + //} } BlockType::Text => {