Fixed Structured Text mentions error

[F.A] Walky

Active member
Affected version
2.1.0 Beta 2
Hello,

When using the structured_text function inside a template it appears that mentioning user is not correctly setup.
Inside a post, all is good, the user mentioned is properly parsed. But when using the function (which should do the same), the mentioned user is detected but not correctly parsed : it is not clickable.

Note: This only happens when I put a / just before the mention
The / character seems to cause this error. (see screens)

Regards,
Walky
 

Attachments

  • 1546774039045.webp
    1546774039045.webp
    4.8 KB · Views: 11
  • 1546774148864.webp
    1546774148864.webp
    1.7 KB · Views: 11
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.0 B7/RC1).

Change log:
Allow structured text mentions to match after a "/"
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom