From bd663b43a0b2d26936ba8a6172090b845a17550c Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 25 Nov 2017 18:08:59 -0800 Subject: Improve HTML sanitizer --- reader/json/parser_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reader/json') diff --git a/reader/json/parser_test.go b/reader/json/parser_test.go index ecb11a1..dd680f8 100644 --- a/reader/json/parser_test.go +++ b/reader/json/parser_test.go @@ -148,7 +148,7 @@ func TestParsePodcast(t *testing.T) { t.Errorf(`Incorrect entry title, got: "%s"`, feed.Entries[0].Title) } - if feed.Entries[0].Content != `Chris has worked at Adobe and as a founder of Rogue Sheep, which won an Apple Design Award for Postage. Chris’s new company is Aged & Distilled with Guy English — which shipped Napkin, a Mac app for visual collaboration. Chris is also the co-host of The Record. He lives on Bainbridge Island, a quick ferry ride from Seattle.` { + if feed.Entries[0].Content != `Chris has worked at Adobe and as a founder of Rogue Sheep, which won an Apple Design Award for Postage. Chris’s new company is Aged & Distilled with Guy English — which shipped Napkin, a Mac app for visual collaboration. Chris is also the co-host of The Record. He lives on Bainbridge Island, a quick ferry ride from Seattle.` { t.Errorf(`Incorrect entry content, got: "%s"`, feed.Entries[0].Content) } -- cgit v1.2.3