Page MenuHomePhabricator

Fix filter usage in fundraising-content-provider
Open, Needs TriagePublic

Description

The imprint template from the content repository broke after the update to Twig 3.0 in the content provider repository. We can trace down the error to the lines

        {% filter nl2br %}
		{%- include 'address_of_suborganization.twig' %}
        {% endfilter %}

in the imprint.twig template. If we remove the filter statement, the template works. This ticket is about finding out what has changed and fixing it.

Acceptance Criteria:

  • The content provider can filter rendered includes again
  • The temporary quickfix that replaces the includes with their content is reverted.

Implementation Notes:
Ideally, the content provider repo itself reproduces the offensive template in a test and fixes it.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript