diff --git a/src/export/html.rs b/src/export/html.rs
index de627d5..82df9f0 100644
--- a/src/export/html.rs
+++ b/src/export/html.rs
@@ -126,7 +126,7 @@ impl HtmlHandler for DefaultHtmlHandler {
let link_extension = &link.path.split(".").last().unwrap();
// Orgmode considers something an image both if the pattern
// matches /and/ the description is empty.
- if image_pattern.contains(link_extension) && link.desc.is_some() {
+ if image_pattern.contains(link_extension) && link.desc.is_none() {
write!(
w,
"",