Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Non-quoted username mentions are broken; due to extra whitespace added to the end

AaronWebsteyAaronWebstey Headband AfficionadoCole Harbour, NS ✭✭✭
edited April 2016 in Vanilla 2.0 - 2.8

Am I the only one seeing this??

The issue is that something is adding  
""
to the end of usernames. Quoted ones seem to end up linking properly, but unquoted ones look funky and don't link to the user's profile.

I've added some HTML-stripping code to functions.general.php:getAllMentions() (which I copied over from the latest github branch so that quoted mentions would work), so at least users are getting mentioned properly now. Quoted or non-quoted.

After insertion, before posting - here's what the inspected element looks like:

After posting, here's what the post looks like:

Here's the inspected element, post-post:

I'm starting to hit near the limits of my ability to debug this in any humanly-reasonable amount of time. I'm hoping that someone who is familiar with the javascript that controls the @ mentions and jquery.atWho library customization might have an idea. The function mentions Dane MacMillan as author?

V2.2

Sign In or Register to comment.