diff --git a/config/sync/core.entity_view_display.node.news.dated_listing.yml b/config/sync/core.entity_view_display.node.news.dated_listing.yml index 8b180bf85d..7bfce7d9b8 100644 --- a/config/sync/core.entity_view_display.node.news.dated_listing.yml +++ b/config/sync/core.entity_view_display.node.news.dated_listing.yml @@ -22,7 +22,7 @@ dependencies: module: - field_delimiter - field_formatter_range - - smart_trim + - joinup_html_stripper - template_suggestion - user id: node.news.dated_listing @@ -32,21 +32,10 @@ mode: dated_listing content: body: label: hidden - type: smart_trim + type: joinup_html_stripper_stripped weight: 2 settings: trim_length: 200 - trim_type: chars - trim_suffix: … - wrap_class: trimmed - more_text: More - more_class: more-link - summary_handler: trim - trim_options: - text: true - trim_zero: false - wrap_output: false - more_link: false third_party_settings: template_suggestion: template_suggestion: '' diff --git a/tests/features/homepage.feature b/tests/features/homepage.feature index a489c49ee2..fe214133e2 100644 --- a/tests/features/homepage.feature +++ b/tests/features/homepage.feature @@ -30,11 +30,11 @@ Feature: Homepage | title | Shaping of nature | | state | validated | And news content: - | title | headline | collection | topic | state | publication date | body | - | Current biodiversity crisis | Preserve habitats | Shaping of nature | Finance in EU, Supplier exchange, E-health | validated | 2021-04-26T19:09:00Z | Here we combine global maps of human populations and land use over the past 12000 y with current biodiversity data to show that nearly three quarters of nature has long been shaped by histories of human habitation and use by indigenous peoples. | - | Environmental stewardship | Transformative practices | Shaping of nature | Employment and Support Allowance | validated | 2021-01-27T16:12:00Z | With rare exceptions current biodiversity losses are caused not by human conversion or degradation of untouched ecosystems but rather by the appropriation colonization and intensification of use in lands inhabited and used by prior societies. | - | Spatial reconstruction | Loss of wildlands | Shaping of nature | HR, Statistics and Analysis, E-justice | validated | 2021-02-28T13:15:00Z | Global land use history confirms that empowering the environmental stewardship of Indigenous peoples and local communities will be critical to conserving biodiversity across the planet. | - | Earlier transformations | Ecosystem management | Shaping of nature | EU and European Policies | validated | 2021-03-29T10:18:00Z | Archaeological evidence shows that by 10000 BCE all societies employed ecologically transformative land use practices including burning hunting species propagation domestication cultivation have left long-term legacies across the biosphere. | + | title | headline | collection | topic | state | publication date | body | + | Current biodiversity crisis | Preserve habitats | Shaping of nature | Finance in EU, Supplier exchange, E-health | validated | 2021-04-26T19:09:00Z | Here we combine global maps of human populations and land use over the past 12000 y with current biodiversity data to show that nearly three quarters of nature has long been shaped by histories of human habitation and use by indigenous peoples. | + | Environmental stewardship | Transformative practices | Shaping of nature | Employment and Support Allowance | validated | 2021-01-27T16:12:00Z | With rare exceptions current biodiversity losses are caused not by human conversion or degradation of untouched ecosystems but rather by the appropriation colonization and intensification of use in lands inhabited and used by prior societies. | + | Spatial reconstruction | Loss of wildlands | Shaping of nature | HR, Statistics and Analysis, E-justice | validated | 2021-02-28T13:15:00Z | Global land use history confirms that empowering the environmental stewardship of Indigenous peoples and local communities will be critical to conserving biodiversity across the planet. | + | Earlier transformations | Ecosystem management | Shaping of nature | EU and European Policies | validated | 2021-03-29T10:18:00Z | "

{""preview_thumbnail"":""/sites/default/files/styles/video_embed_wysiwyg_preview/public/video_thumbnails/dQw4w9WgXcQ.jpg?itok=s9z0clFM"",""video_url"":""https://www.youtube.com/watch?v=dQw4w9WgXcQ"",""settings"":{""responsive"":true,""width"":""854"",""height"":""480"",""autoplay"":false},""settings_summary"":[""Embedded Video (Responsive).""]}Archaeological evidence shows that by 10000 BCE all societies employed ecologically transformative land use practices including burning hunting species propagation domestication cultivation have left long-term legacies across the biosphere.

" | When I am on the homepage Then the latest news section should contain the following news articles: | date | topics | title | body |