--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<?php/*Plugin Name: Un-en-dash the Double Dash*/add_filter( 'the_content' , 'mh_un_en_dash' , 50 );add_filter( 'the_title', 'mh_un_en_dash' , 50 );add_filter( 'the_excerpt', 'mh_un_en_dash' , 50 );add_filter( 'comment_text', 'mh_un_en_dash' , 50 );add_filter( 'list_cats', 'mh_un_en_dash' , 50 );
function mh_un_en_dash( $text ) { $content = str_replace( '–' , '-' , $text ); return $content;}?>
<pre>, <code>, <kbd>, <style>, <script>, and <tt>