fisharebest/webtrees — pull request #79 by jon48 (2014-01-21 00:02:51+00:00)
Title: #1269075 - Names containing an apostrophe (') are displayed as Name (Nam...

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 ')