diff --git a/cmd/server/tests/comic_metadata_display_test.go b/cmd/server/tests/comic_metadata_display_test.go index 52a5fe2..73cbae0 100644 --- a/cmd/server/tests/comic_metadata_display_test.go +++ b/cmd/server/tests/comic_metadata_display_test.go @@ -423,8 +423,8 @@ func TestComicMetadataDisplay_ComicDetailPage(t *testing.T) { // Check that the metadata notes section is present assert.Contains(t, body, "Metadata Notes", "Should display metadata notes section header") - // The content is HTML-escaped by templ, so apostrophes become ' - assert.Contains(t, body, "John's Comics", "Should display HTML-escaped metadata notes content") + // The content is HTML-escaped by templ, so apostrophes become ' + assert.Contains(t, body, "John's Comics", "Should display HTML-escaped metadata notes content") // Also check for a simpler substring without special characters assert.Contains(t, body, "collection", "Should display metadata notes content") })