Skip to content

Commit

Permalink
Merge pull request #37 from paulschreiber/master
Browse files Browse the repository at this point in the history
Bump version to 1.3.11
  • Loading branch information
Paul Schreiber authored Jan 24, 2019
2 parents bf3acbc + 31c03da commit 7636a05
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions class-mathjax-latex.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* along with this program. If not, see http://www.gnu.org/licenses/.
*/

define( 'MATHJAX_VERSION', '1.3.10' );
define( 'MATHJAX_VERSION', '1.3.11' );

require_once __DIR__ . '/class-mathjax-latex-admin.php';

Expand Down Expand Up @@ -237,7 +237,7 @@ public static function filter_br_tags_on_math( $content ) {
$filtered_content = preg_replace_callback(
'/(<math.*>.*<\/math>)/isU',
function( $matches ) {
return str_replace( array( '<br/>', '<br />', '<br>' ), '', $matches[0] );
return str_replace( [ '<br/>', '<br />', '<br>' ], '', $matches[0] );
},
$content
);
Expand Down
2 changes: 1 addition & 1 deletion mathjax-latex.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: MathJax-LaTeX
* Description: Transform latex equations in JavaScript using mathjax
* Version: 1.3.10
* Version: 1.3.11
* Author: Phillip Lord, Simon Cockell, Paul Schreiber
* Author URI: http://knowledgeblog.org
*
Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Contributors: philliplord, sjcockell, knowledgeblog, d_swan, paulschreiber, jwenerd
Tags: mathematics, math, latex, mathml, mathjax, science, res-comms, scholar, academic
Requires at least: 3.0
Tested up to: 4.9.1
Stable tag: 1.3.10
Tested up to: 5.0.3
Stable tag: 1.3.11
Requires PHP: 7.0.0
License: GPLv2

Expand Down Expand Up @@ -34,6 +34,10 @@ MathJax-LaTeX is developed on [GitHub](https://github.com/phillord/mathjax-latex

== Changelog ==

= 1.3.11 =

1. Use version 2.7.5 of MathJax JS

= 1.3.10 =

1. Rename class files, per PHPCS
Expand Down

0 comments on commit 7636a05

Please sign in to comment.