Skip to content

Conversation

@jdarwood007
Copy link
Member

Fixes #8820

Big note, 2.1 handled names differently, so a bit of compatibility had to be added here.

If #8132 is accepted, then it needs to ensure it doesn't reintroduce this issue.

@Sesquipedalian I am not happy with how the fix had to come out for handling the entities issue. If you have a better idea, please chime in or introduce an alternative PR.
I tested by changing a member's name to Apasta'fee. In SMF 2.1, the database value is Apasta'fee and in 3.0 it is Apasta'fee. 2.1 and 3.0 both handle a double quote the same by encoding it (i.e., Double"Quotes)

Fixes SimpleMachines#8820

Big note, 2.1 handled names differently so a bit of compatibility had to be added here.

If SimpleMachines#8132 is accepted then it needs to ensure it doesn't reintroduce this issue.
@jdarwood007 jdarwood007 added this to the 3.0 Alpha 4 milestone Aug 8, 2025
@Sesquipedalian
Copy link
Member

in 3.0 it is Apasta'fee.

Hm. That wasn't an intentional change. I think it indicates a deeper problem that must be fixed first. I will look into it. In the meantime, I will leave this PR here.

@jdarwood007
Copy link
Member Author

I guessed that we had stopped mucking up entities somewhat and that we would see less of this in the future. Seems now that during the transition of code, some ENT_QUOTES got dropped.

@Sesquipedalian
Copy link
Member

Yeah. I have a PR nearly ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2.1 & 3.0]: Mentions don't work for names with apostrophes

2 participants