Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1269075 - Names containing an apostrophe (') are displayed as Name (Nam... #79

Closed
wants to merge 1 commit into from

Conversation

jon48
Copy link
Contributor

@jon48 jon48 commented Jan 21, 2014

Bug #1269075
The $name variable is compared to the surname extracted for the individual, to decide whether or not to display the potential different surname in brackets.
However; $name goes through the WT_Filter::escapeHtml filter whereas $primary_name['surname'] does not, which is a problem when comparing a special character with its equivalent HTML (for instance the quote ')

@fisharebest
Copy link
Owner

Hi Jon - I fixed this before I saw this pull request. But I made a nearly identicat change. I compared two unescaped values, rather than two escaped ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants