Defect #44434
openCollapse macro does not work in email notifications
Description
The {{collapse}} macro works as expected when the content is displayed in a web browser. The collapsed content can be expanded by clicking the "Show" link.
However, when the same content is included in an email notification, the "Show" link is also included in the email. Clicking the link has no effect because the JavaScript used by the collapse macro cannot be executed in the email.
Expected behavior¶
Email notifications should not contain a non-functional "Show" link. Instead, when the {{collapse}} macro is rendered for an email notification, the "Show" link could be replaced with a link to the original page containing the collapsed content.
Ideally, clicking this link would open the corresponding page with the relevant collapsed section automatically expanded. I have filed this as a separate issue in #44433.
No data to display