template_preprocess_forums generates too much HTML

Created on 30 December 2015, almost 9 years ago
Updated 24 April 2024, 7 months ago

Problem/Motivation

Followup from #2636074: forum-list.html.twig replies are double escaped β†’ .

template_preprocess_forums() generates a lot of HTML, making it hard to override in a custom theme.

Proposed resolution

Rewrite the preprocess function to provide data to the templates. Allow the templates to generate HTML based on the provided data (eg:

Remaining tasks

TBD

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Active

Version

1.0

Component

forum.module

Created by

πŸ‡ΊπŸ‡ΈUnited States mikeker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024