Plugin Directory

Changeset 3034013


Ignore:
Timestamp:
02/10/2024 07:40:53 PM (2 years ago)
Author:
ginoplusio
Message:

htmlspecialchars_decode fixed

Location:
bright-link-previews/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bright-link-previews/trunk/index.php

    r3033821 r3034013  
    237237        $doc = new DOMDocument();
    238238        libxml_use_internal_errors(true);
    239         $doc->loadHTML('<?xml encoding="utf-8" ?>' . htmlspecialchars_decode($content));
     239        /* $doc->loadHTML('<?xml encoding="utf-8" ?>' . htmlspecialchars_decode($content)); */
     240        $doc->loadHTML('<?xml encoding="utf-8" ?>' . iconv('UTF-8', 'ASCII//TRANSLIT',$content));       
    240241
    241242        // Get the body element
  • bright-link-previews/trunk/readme.txt

    r3033823 r3034013  
    55Requires at least: 6.1
    66Tested up to: 6.4
    7 Stable tag: 1.81
     7Stable tag: 1.82
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    7474* Improved HTML of the pop up, now it hasn't heading tags
    7575* CSS and JS calls now have a version number
     76
     77= 1.82 =
     78* Fixed a bug with htmlspecialchars_decode
Note: See TracChangeset for help on using the changeset viewer.