Changeset 685102
- Timestamp:
- 03/21/2013 07:52:42 AM (13 years ago)
- Location:
- prettify-code-syntax/trunk
- Files:
-
- 2 edited
-
prettify-code-syntax.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
prettify-code-syntax/trunk/prettify-code-syntax.php
r680692 r685102 4 4 Plugin URI: http://www.frontendmatters.com/open-source/wordpress-plugins/prettify-code-syntax/ 5 5 Description: Code syntax highlighter using Google Prettify, supporting the HTML5 recommendation, and caching plugins. 6 Version: 1.2 6 Version: 1.2.1 7 7 Author: Jesús Carrera 8 8 Author URI: http://www.frontendmatters.com/ … … 165 165 166 166 167 $parsed_code = htmlentities($code); 167 $parsed_code = htmlspecialchars($code, ENT_NOQUOTES, get_bloginfo('charset'), true); 168 169 $parsed_code = str_replace('&', '&', $parsed_code); 168 170 return $tags_open.$parsed_code.$tags_close; 169 171 } … … 175 177 $tags_close = $matches[3]; 176 178 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; 179 182 } 180 183 -
prettify-code-syntax/trunk/readme.txt
r680692 r685102 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.5.1 7 Stable tag: 1.2 7 Stable tag: 1.2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.