Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/3.6.0 beta.1 #190

Merged
merged 3 commits into from
Feb 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "syntaxhighlighter",
"version": "3.5.5",
"version": "3.6.0",
"description": "Easily post syntax-highlighted code to your WordPress site without having to modify the code at all.",
"homepage": "https://alex.blog/wordpress-plugins/syntaxhighlighter/",
"author": "Alex Mills (Viper007Bond)",
Expand Down
20 changes: 18 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: Viper007Bond, automattic, donncha
Donate link: https://alex.blog/2019/03/13/in-memory-of-alex-donation-link-update/
Tags: code, source, sourcecode, php, syntax highlighting, syntax, highlight, highlighting, highlighter, WordPress.com
Requires at least: 4.2.3
Requires at least: 5.2
Tested up to: 5.6
Stable tag: 3.5.5
Stable tag: 3.6.0

Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.

Expand Down Expand Up @@ -40,6 +40,22 @@ Try excluding this plugin's Javascript from any performance optimizations your s

== ChangeLog ==

= Version 3.6.0 =

* New: Add ```language shortcut. #180
* New: Add block alignment support. #179
* New: Add language selector to block toolbar. #172
* Fix: Content attribute selector. #178
* Fix: Escaping for shortcodes and URLs. #177
* Fix: Escaping issues with HTML entities. #160
* Fix: MatLab brush key in brush map. #188
* Fix: Remove <code> wrapper. #163
* Fix: escaping for non-admin authored posts. #187
* Tweak: Bump "tested up to" version. #183
* Tweak: Refactor block JS code. #171
* Tweak: Update plugin tags. #181
* Tweak: Use tab size from plugin settings in block editor. #174

= Version 3.5.5 =

* Allow setting text to include br and code tags. #144
Expand Down
6 changes: 3 additions & 3 deletions syntaxhighlighter.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@

Plugin Name: SyntaxHighlighter Evolved
Plugin URI: https://alex.blog/wordpress-plugins/syntaxhighlighter/
Version: 3.5.5
Version: 3.6.0-beta.1
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/SyntaxHighlighter/">SyntaxHighlighter</a>. Includes a new editor block.
Author: Alex Mills (Viper007Bond)
Author URI: https://alex.blog/
Text Domain: syntaxhighlighter
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 5.2
Tested up to: 5.4
Tested up to: 5.6
Requires PHP: 7.0

**************************************************************************/

class SyntaxHighlighter {
// All of these variables are private. Filters are provided for things that can be modified.
var $pluginver = '3.5.5'; // Plugin version
var $pluginver = '3.6.0-beta.1'; // Plugin version
var $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3)
var $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3)
var $settings = array(); // Contains the user's settings
Expand Down