aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader/rss/parser_test.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2017-11-25 18:08:59 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2017-11-25 18:08:59 -0800
commitbd663b43a0b2d26936ba8a6172090b845a17550c (patch)
treea2f6c7d77f2db4c6ee34a0fff3ffdcb5b1b852a5 /reader/rss/parser_test.go
parent1f015d5dfeb3eba7c0c2d1eb2f697dd18c128ecd (diff)
Improve HTML sanitizer
Diffstat (limited to 'reader/rss/parser_test.go')
-rw-r--r--reader/rss/parser_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reader/rss/parser_test.go b/reader/rss/parser_test.go
index 9f1a557..f92be50 100644
--- a/reader/rss/parser_test.go
+++ b/reader/rss/parser_test.go
@@ -94,7 +94,7 @@ func TestParseRss2Sample(t *testing.T) {
t.Errorf("Incorrect entry title, got: %s", feed.Entries[0].Title)
}
- if feed.Entries[0].Content != `How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's <a href="http://howe.iki.rssi.ru/GCTC/gctc_e.htm" rel="noopener noreferrer" target="_blank" referrerpolicy="no-referrer">Star City</a>.` {
+ if feed.Entries[0].Content != `How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia&#39;s <a href="http://howe.iki.rssi.ru/GCTC/gctc_e.htm" rel="noopener noreferrer" target="_blank" referrerpolicy="no-referrer">Star City</a>.` {
t.Errorf("Incorrect entry content, got: %s", feed.Entries[0].Content)
}
}