Thecore/themes/olivero/templates/content/node--teaser.html.twig hard-codes the text-content CSS class. This shouldn't happen as the class gets added to all formatted text fields.

Originally reported by @mandclu in Drupal Slack

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mherchel created an issue. See original summary.

mherchel’s picture

Status: Active » Needs review
FileSize
592 bytes

Quick simple patch.

larowlan’s picture

Status: Needs review » Reviewed & tested by the community

Simple enough fix

kostyashupenko’s picture

Status: Reviewed & tested by the community » Needs work

Well, i just noticed that layout variable is not set, so remove it.

+ also please, since you are editing this file, fix indent here https://git.drupalcode.org/project/drupal/-/blob/9.2.x/core/themes/olive... (should be 4 spaces for lines 72-77, and 2 spaces for 78)

ayushmishra206’s picture

Status: Needs work » Needs review
FileSize
568 bytes
584 bytes

Made the changes suggested in #4

kishor_kolekar’s picture

FileSize
1.16 KB
866 bytes
1.15 KB
866 bytes

worked on the point suggested in #4

mherchel’s picture

Status: Needs review » Reviewed & tested by the community

Latest patch in #6 looks great! RTBC!

  • lauriii committed 83200c4 on 9.2.x
    Issue #3178806 by kishor_kolekar, mherchel, larowlan, kostyashupenko,...

  • lauriii committed 196709d on 9.1.x
    Issue #3178806 by kishor_kolekar, mherchel, larowlan, kostyashupenko,...
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Committed 83200c4 and pushed to 9.2.x and 9.1.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.