<% if (showField('author')) { %>
<%= item.author %>
<% } %>
-<% if (showField('date')) { %>
`<%= item.date %>`{=html}
<% } %>
+<% if (showField('date')) { %>
<%= item.date %>
<% } %>
<% } %>
diff --git a/src/resources/projects/website/listing/listing-default.ejs.md b/src/resources/projects/website/listing/listing-default.ejs.md
index 079f301cfa..c95f18c77d 100644
--- a/src/resources/projects/website/listing/listing-default.ejs.md
+++ b/src/resources/projects/website/listing/listing-default.ejs.md
@@ -1,7 +1,7 @@
:::{.list .quarto-listing-default}
-```{=html}
+``````{=html}
<% for (const item of items) { %>
<% partial('item-default.ejs.md', {listing, item, utils }) %>
<% } %>
-```
+``````
:::