You are here

function mathjax_filter_process in MathJax: LaTeX for Drupal 7.2

Mathjax filter process callback.

1 string reference to 'mathjax_filter_process'
mathjax_filter_info in ./mathjax.module
Implements hook_filter_info().

File

./mathjax.module, line 142
MathJax module.

Code

function mathjax_filter_process($text, $filter, $format) {
  return '<div class="tex2jax">' . $text . '</div>';
}