summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/latex.php')
-rw-r--r--plugins/jetpack/modules/latex.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/latex.php b/plugins/jetpack/modules/latex.php
index 2c90ba8b..5841257f 100644
--- a/plugins/jetpack/modules/latex.php
+++ b/plugins/jetpack/modules/latex.php
@@ -1,11 +1,12 @@
<?php
/**
* Module Name: Beautiful Math
- * Module Description: Mark up your posts with the <img src="//s0.wp.com/latex.php?latex=%5CLaTeX&amp;bg=transparent&amp;fg=000&amp;s=-2" alt="LaTeX logo" title="LaTeX" style="vertical-align: -25%" /> markup language, perfect for complex mathematical equations and other &#252;ber-geekery.
+ * Module Description: Use LaTeX markup language in posts and pages for complex equations and other geekery.
* Sort Order: 12
* First Introduced: 1.1
* Requires Connection: No
* Auto Activate: Yes
+ * Module Tags: Writing
*/
/**
@@ -84,7 +85,7 @@ function latex_shortcode( $atts, $content = '' ) {
's' => 0,
'bg' => latex_get_default_color( 'bg' ),
'fg' => latex_get_default_color( 'text', '000' )
- ), $atts ) );
+ ), $atts, 'latex' ) );
return latex_render( latex_entity_decode( $content ), $fg, $bg, $s );
}