• I hope this plugin is still supported as it is useful and also is straightforward to setup and use.

    I do however have one problem. If I insert a Pound symbol (“£” or “£”) into a list included within the fa-ul shortcode, it is converted to “£”.

    I think this may be to do with the method that is used to parse the contents of the fa-ul shortcode but beyond that I am stuck!

    Has anybody found a fix for this (apart from using Font Awesome html instead of the plugin’s shortcode :-))?

    Many thanks!

    Ian

    https://wordpress.org/plugins/font-awesome-shortcodes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter thommo

    (@thommo)

    In case anybody else hits this problem, after having tried a few things that did not work, the solution that worked for me was to insert the following line into the fontawesome-shortcodes.php file. It needs to be inserted into the scrape_dom_element function, just before the line that reads $dom->loadHTML($content);….

    $content = mb_convert_encoding($content, 'HTML-ENTITIES', "UTF-8");

    Hope this helps somebody!

    This help me a lot. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘£ converted to £ by fa-ul’ is closed to new replies.