Fixed Heading anchor links can contain unnecessary HTML text fragments (headings with BB code or non-text content)

marquisite

Well-known member
Affected version
2.3.0 Beta 6
First noticed in the XenForo 2.3.0 Beta 6 announcement thread:
Code:
https://xenforo.com/community/threads/xenforo-add-ons-2-3-0-beta-6-released-unsupported.221301/#-entity-code-classbbcodeinlineviewableinterfacecode-and-indexnow

Examples:​

Heading with inline-code and formatted text

First example, at time of posting:
Code:
#-heading-with-code-classbbcodeinlineinline-codecode-and-uformattedu-itexti
Expected behaviour was:
Code:
#-heading-with-inline-code-and-formatted-text

Heading with 🫣emojis🤔

Second example:
Code:
#-heading-with-img-classsmilie-smilie--emoji-alt-srchttpscdnjsdelivrnetjoypixelsassets80pngunicode641fae3png-titleface-with-peeking-eye-facewithpeekingeye-data-shortnamefacewithpeekingeye-loadinglazy-width64-height64-emojisimg-classsmilie-smilie--emoji-alt-srchttpscdnjsdelivrnetjoypixelsassets80pngunicode641f914png-titlethinking-face-thinking-data-shortnamethinking-loadinglazy-width64-height64-
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 RC 5).

Change log:
Strip BB code from heading anchor links
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom