Skip to content

Commit

Permalink
Fixes the failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillkuettel committed Dec 10, 2024
1 parent 5313516 commit d9f0e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onegov/org/templates/macros.pt
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@
<span tal:condition="not western_name_order">${person.title}</span>
</a>
<a href="${request.link(person)}">
<p class="list-lead preview">${Markup(person.context_specific_function).replace('\n', '<br/>')}</p>
<p class="list-lead preview" tal:condition="person.context_specific_function" tal:content="escape(person.context_specific_function).replace('\n', Markup('<br />'))" />
</a>
</div>
</li>
Expand Down

0 comments on commit d9f0e02

Please sign in to comment.