Changeset 1076447 for syntaxhighlighter
- Timestamp:
- 01/27/2015 05:33:46 AM (11 years ago)
- Location:
- syntaxhighlighter/trunk
- Files:
-
- 4 edited
-
readme.md (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
syntaxhighlighter.php (modified) (5 diffs)
-
syntaxhighlighter3/styles/shCore.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
syntaxhighlighter/trunk/readme.md
r878959 r1076447 5 5 ## Development On The Next Version 6 6 7 A major rewrite is currently occurring in the [4.0 branch](https://github.com/Viper007Bond/syntaxhighlighter/ commits/4.0). Go there if you want to see the current work in progress code.7 A major rewrite is currently occurring in the [4.0 branch](https://github.com/Viper007Bond/syntaxhighlighter/tree/4.0). Go there if you want to see the current work in progress code. -
syntaxhighlighter/trunk/readme.txt
r904426 r1076447 55 55 56 56 == ChangeLog == 57 58 = Version 3.1.11 = 59 60 * SyntaxHighlighter 3.x: Fix table layout issue. Props jeherve. 61 * Fix sanitization bug for "classname" parameter. 62 * Fix a bug that prevented highlighting a range of lines, such as "5-10". 57 63 58 64 = Version 3.1.10 = -
syntaxhighlighter/trunk/syntaxhighlighter.php
r904426 r1076447 5 5 Plugin Name: SyntaxHighlighter Evolved 6 6 Plugin URI: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/ 7 Version: 3.1.1 07 Version: 3.1.11 8 8 Description: Easily post syntax-highlighted code to your site without having to modify the code at all. Uses Alex Gorbatchev's <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter">SyntaxHighlighter</a>. <strong>TIP:</strong> Don't use the Visual editor if you don't want your code mangled. TinyMCE will "clean up" your HTML. 9 9 Author: Alex Mills (Viper007Bond) … … 22 22 class SyntaxHighlighter { 23 23 // All of these variables are private. Filters are provided for things that can be modified. 24 var $pluginver = '3.1.1 0'; // Plugin version24 var $pluginver = '3.1.11'; // Plugin version 25 25 var $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3) 26 26 var $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3) … … 112 112 } else { 113 113 $this->shfolder = 'syntaxhighlighter3'; 114 $this->agshver = '3.0.9 ';114 $this->agshver = '3.0.9b'; 115 115 } 116 116 … … 901 901 902 902 // Sanitize the "classname" parameter 903 if ( 'class name' == $key )903 if ( 'class-name' == $key ) 904 904 $value = trim( preg_replace( '/[^a-zA-Z0-9 _-]/i', '', $value ) ); 905 905 … … 925 925 // Sanitize row highlights 926 926 if ( 'highlight' == $key ) { 927 if ( false === strpos( $value, ',' ) ) {927 if ( false === strpos( $value, ',' ) && false === strpos( $value, '-' ) ) { 928 928 $value = (int) $value; 929 929 } else { -
syntaxhighlighter/trunk/syntaxhighlighter3/styles/shCore.css
r878975 r1076447 83 83 } 84 84 .syntaxhighlighter table { 85 table-layout: auto !important; 85 86 width: 100% !important; 86 87 }
Note: See TracChangeset
for help on using the changeset viewer.