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-
 
Top Bottom