Plugin Directory

Changeset 685102


Ignore:
Timestamp:
03/21/2013 07:52:42 AM (13 years ago)
Author:
jesucarr
Message:

change version

Location:
prettify-code-syntax/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • prettify-code-syntax/trunk/prettify-code-syntax.php

    r680692 r685102  
    44Plugin URI: http://www.frontendmatters.com/open-source/wordpress-plugins/prettify-code-syntax/
    55Description: Code syntax highlighter using Google Prettify, supporting the HTML5 recommendation, and caching plugins.
    6 Version: 1.2
     6Version: 1.2.1
    77Author: Jesús Carrera
    88Author URI: http://www.frontendmatters.com/
     
    165165
    166166       
    167         $parsed_code = htmlentities($code);
     167        $parsed_code = htmlspecialchars($code, ENT_NOQUOTES, get_bloginfo('charset'), true);
     168
     169        $parsed_code = str_replace('&', '&', $parsed_code);
    168170        return $tags_open.$parsed_code.$tags_close;
    169171    }
     
    175177        $tags_close = $matches[3];
    176178
    177         $parsed_code = htmlentities($code);
    178         return $tags_open.$parsed_code.$tags_close;
     179        $parsed_code = htmlspecialchars($code, ENT_NOQUOTES, get_bloginfo('charset'), true);
     180        $parsed_code = str_replace('&', '&', $parsed_code);
     181        return $tags_open.$parsed_code2.$tags_close;
    179182    }
    180183
  • prettify-code-syntax/trunk/readme.txt

    r680692 r685102  
    55Requires at least: 3.0.1
    66Tested up to: 3.5.1
    7 Stable tag: 1.2
     7Stable tag: 1.2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.