]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/teximg.pm
removed
[git.ikiwiki.info.git] / IkiWiki / Plugin / teximg.pm
index 195792acaa593bd627626061c4d5cfac6f31aa72..3d6fa9942c11f3dd304026458655b22ab30e5e50 100644 (file)
@@ -144,7 +144,7 @@ sub gen_image ($$$$) {
        }
        
        my $tex = $config{teximg_prefix};
-       $tex .= '$$'.$code.'$$';
+       $tex .= '\['.$code.'\]';
        $tex .= $config{teximg_postfix};
        $tex =~ s!\\documentclass{article}!\\documentclass[${height}pt]{article}!g;
        $tex =~ s!\\documentclass{scrartcl}!\\documentclass[${height}pt]{scrartcl}!g;