From 0557e3f2b90eddad30627a066573ee717faef117 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 22 Jul 2025 17:10:20 -0400 Subject: [PATCH] fix audio & video elements --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 4853460..e7e7c18 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -164,10 +164,10 @@ fn process_content(items: &Vec) -> Vec { }, Item::Link(_,children) => { if has_video(children){ - result.push(Content::Markdown("Unsupported video".to_owned())); + result.push(media_content(i)); } else if has_image(children){ - result.push(Content::Markdown("Unsupported image".to_owned())); + result.push(media_content(i)); } else {