Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
To allow theme and module developer to leverage HTML5 we need to move this hard coded markup into themeable functions, where it makes sense (could be places where it does not). The goal is to make Drupal 8 markup agnostic, meaning you can use any version of HTML you want.
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedTracking issues:
#1067412: March search_excerpt() output themeable, and use HTML5 <mark> tags for highlighting
Comment #2
joelpittetWe avoid theme functions, and recommend all markup in templates if possible.
Triaging theme system since we are in RC. This effort will still continue believe you me;)