Plugin Directory

Changeset 3359042


Ignore:
Timestamp:
09/10/2025 08:47:13 AM (5 months ago)
Author:
christianperfect
Message:

v2.1.1

Location:
simple-mathjax/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • simple-mathjax/trunk/readme.txt

    r3340219 r3359042  
    66Requires at least: 3.0
    77Tested up to: 6.8
    8 Stable tag: 2.1.0
     8Stable tag: 2.1.1
    99
    1010Yet another plugin to add MathJax support to your wordpress blog.
     
    2525
    2626== Changelog ==
     27
     28= 2.1.1 =
     29The custom config no longer has the HTML escaping filter applied.
    2730
    2831= 2.1.0 =
  • simple-mathjax/trunk/simple-mathjax.php

    r3340219 r3359042  
    33 * Plugin Name: Simple MathJax
    44 * Description: Load the mathjax scripts across your wordpress blog
    5  * Version: 2.1.0
     5 * Version: 2.1.1
    66 * Author: Samuel Coskey, Peter Krautzberger, Christian Lawson-Perfect
    77 * Author URI: https://boolesrings.org
     8 * License: GPLv3
     9 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
    810 */
    911
     
    8385    $options = self::load_options();
    8486    $version = $options['major_version'];
    85     $custom_config = wp_kses( $options['custom_mathjax_config'], array() );
     87    $custom_config = $options['custom_mathjax_config'];
    8688    $config = $custom_config ? $custom_config : self::$default_configs[$version];
    8789    if($version==2) {
     
    224226    $options = self::load_options();
    225227  ?>
    226     <textarea id="custom_mathjax_config" cols="50" rows="10" name="simple_mathjax_options[custom_mathjax_config]"><?= $options['custom_mathjax_config'] ?></textarea>
     228    <textarea style="font-family: monospace;" id="custom_mathjax_config" cols="50" rows="10" name="simple_mathjax_options[custom_mathjax_config]"><?= $options['custom_mathjax_config'] ?></textarea>
    227229    <p>This text will be used to configure MathJax. See <a href="https://docs.mathjax.org/en/latest/options/index.html">the documentation on configuring MathJax</a>.</p>
    228230    <p>If you leave this blank, the default will be used, according to the major version of MathJax:</p>
     
    242244    $options = self::load_options();
    243245  ?>
    244     <textarea id="latex_preamble" cols="50" rows="10" name="simple_mathjax_options[latex_preamble]"><?= $options['latex_preamble'] ?></textarea>
     246    <textarea style="font-family: monospace;" id="latex_preamble" cols="50" rows="10" name="simple_mathjax_options[latex_preamble]"><?= $options['latex_preamble'] ?></textarea>
    245247    <p>This LaTeX will be run invisibly before any other LaTeX on the page. A good place to put \newcommand's and \renewcommand's</p>
    246248    <p><strong>Do not use $ signs</strong>, they will be added for you.</p>
Note: See TracChangeset for help on using the changeset viewer.