diff --git a/core/modules/aggregator/aggregator.test b/core/modules/aggregator/aggregator.test index ec73a7e956e..27c46737eb2 100644 --- a/core/modules/aggregator/aggregator.test +++ b/core/modules/aggregator/aggregator.test @@ -928,6 +928,6 @@ class FeedParserTestCase extends AggregatorTestCase { aggregator_refresh($feed); $this->drupalGet('aggregator/sources/' . $feed->fid); $this->assertResponse(200, t('Feed %name exists.', array('%name' => $feed->title))); - $this->assertText("Quote" Amp&"); + $this->assertRaw("Quote" Amp&"); } } diff --git a/core/modules/aggregator/tests/aggregator_test_title_entities.xml b/core/modules/aggregator/tests/aggregator_test_title_entities.xml new file mode 100644 index 00000000000..e526e441841 --- /dev/null +++ b/core/modules/aggregator/tests/aggregator_test_title_entities.xml @@ -0,0 +1,14 @@ + + + + Example with Entities + http://example.com + Example RSS Feed With HTML Entities in Title + en-us + + Quote" Amp& + http://example.com/example-turns-one + Some text. + + +