Viewing 11 replies - 1 through 11 (of 11 total)
  • same problem for me

    Same thing here.

    WPman

    (@hardwaremaster)

    The same problem, how to solve?

    Me too ?? Would be awesome to get this right. Great plugin!

    Plugin Author Gabe Shackle

    (@hereswhatidid)

    This issue is resolved in the latest update (2.1.14).

    Awesome! Thank you sir.

    WPman

    (@hardwaremaster)

    Upgrade to 2.1.14 instead – shows & #8212;, please help to fix.

    hohisse

    (@hohisse)

    All the latest posts are about HTML decimal values that replace anything that is not alphanumeric.

    2.1.14 still generates some.

    Kramer

    (@kramerkeller)

    Are you guys still having issues with Hyphens even with the latest update? I am getting &#8211 instead of the expected “-”

    Kramer

    (@kramerkeller)

    Guys

    I think I fixed this… but I have never actually edited a plugin in my life and have no clue what I am doing… so if someone can check on this that would be great. I saw in search-autocomplete/searchautocomplete.php this line

    $results[$index]['title'] = htmlspecialchars_decode( $result['title'] );

    In researching… I think what is supposed to be used is html_entity_decode()
    See documentation here – https://php.net/html_entity_decode

    So… I tried this… and it worked! Basically we got to decode UTF-8.

    $results[$index]['title'] = html_entity_decode(htmlspecialchars_decode( $result['title'] ),ENT_COMPAT, 'UTF-8');

    Maybe we don’t need to wrap that around the htmlspecialchars_decdoe funtion… maybe it is supposed to be used in place of it… but I’m going to keep the above because it seems to work.

    Plugin Author Gabe Shackle

    (@hereswhatidid)

    I’ve pushed an update (2.1.15) that should apply this fix. Can you confirm this resolves the special character issues you were experiencing? Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘HTML Characters and symbols’ is closed to new replies.