diff --git a/views/formatted.ejs b/views/formatted.ejs
index 3f2e732..8943f8b 100644
--- a/views/formatted.ejs
+++ b/views/formatted.ejs
@@ -23,6 +23,6 @@
<% } else if (contentN.type == 'link') { %>
<%= contentN.name %>
-<% } else if (contentN.type.replaceAll(' ','').length > 0) { %>
+<% } else if (contentN.data.replaceAll(' ','').length > 0) { %>
<% } } %>
\ No newline at end of file