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.
In the workbench_access_user_form
function, the display of the available sections includes a "<br />
" tag when generating a string for users who don't have access to the checkboxes.
The problem with this is the tag is included in a string that has the t()
function applied to it in the #markup
. This causes the tag to be printed rather than applied as HTML, causing results such as "Section 1<br />
" to be shown on the page.
I'll post a patch in a moment.
Comment | File | Size | Author |
---|---|---|---|
#2 | workbench_access-translation_includes_html_tag-2560143-2.patch | 1.3 KB | ron_s |
Comments
Comment #2
ron_s CreditAttribution: ron_s commentedPatch is attached for review. Thanks.
Comment #3
rashid_786 CreditAttribution: rashid_786 as a volunteer commentedThis issue has been resolved in the issue #2511376#comment-10330387