Plugin Directory

Changeset 1076447 for syntaxhighlighter


Ignore:
Timestamp:
01/27/2015 05:33:46 AM (11 years ago)
Author:
Viper007Bond
Message:

v3.1.11. Syncs with git repository as of https://github.com/Viper007Bond/syntaxhighlighter/commit/08deab66fd4acdb44a44e0ac334ec4e288105d5b

Location:
syntaxhighlighter/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • syntaxhighlighter/trunk/readme.md

    r878959 r1076447  
    55## Development On The Next Version
    66
    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.
     7A 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  
    5555
    5656== 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".
    5763
    5864= Version 3.1.10 =
  • syntaxhighlighter/trunk/syntaxhighlighter.php

    r904426 r1076447  
    55Plugin Name:  SyntaxHighlighter Evolved
    66Plugin URI:   http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/
    7 Version:      3.1.10
     7Version:      3.1.11
    88Description:  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.
    99Author:       Alex Mills (Viper007Bond)
     
    2222class SyntaxHighlighter {
    2323    // All of these variables are private. Filters are provided for things that can be modified.
    24     var $pluginver            = '3.1.10';  // Plugin version
     24    var $pluginver            = '3.1.11';  // Plugin version
    2525    var $agshver              = false;    // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3)
    2626    var $shfolder             = false;    // Controls what subfolder to load SyntaxHighlighter from (v2 or v3)
     
    112112        } else {
    113113            $this->shfolder = 'syntaxhighlighter3';
    114             $this->agshver  = '3.0.9';
     114            $this->agshver  = '3.0.9b';
    115115        }
    116116
     
    901901
    902902            // Sanitize the "classname" parameter
    903             if ( 'classname' == $key )
     903            if ( 'class-name' == $key )
    904904                $value = trim( preg_replace( '/[^a-zA-Z0-9 _-]/i', '', $value ) );
    905905
     
    925925            // Sanitize row highlights
    926926            if ( 'highlight' == $key ) {
    927                 if ( false === strpos( $value, ',' ) ) {
     927                if ( false === strpos( $value, ',' ) && false === strpos( $value, '-' ) ) {
    928928                    $value = (int) $value;
    929929                } else {
  • syntaxhighlighter/trunk/syntaxhighlighter3/styles/shCore.css

    r878975 r1076447  
    8383}
    8484.syntaxhighlighter table {
     85  table-layout: auto !important;
    8586  width: 100% !important;
    8687}
Note: See TracChangeset for help on using the changeset viewer.