Skip to content
Browse files

Compatibility fix for glossary

  • Loading branch information...
1 parent 7d4beb9 commit ee9ff7f35bcfd91c6917e6953a5e54de045356a4 fiedorow committed Jun 24, 2005
Showing with 4 additions and 0 deletions.
  1. +2 −0 filter/algebra/filter.php
  2. +2 −0 filter/tex/filter.php
View
2 filter/algebra/filter.php
@@ -136,6 +136,8 @@ function algebra_filter ($courseid, $text) {
$algebra = $matches[1][$i] . $matches[2][$i];
$algebra = str_replace('<nolink>','',$algebra);
$algebra = str_replace('</nolink>','',$algebra);
+ $algebra = str_replace('<span class="nolink">','',$algebra);
+ $algebra = str_replace('</span>','',$algebra);
$align = "middle";
if (preg_match('/^align=bottom /',$algebra)) {
$align = "text-bottom";
View
2 filter/tex/filter.php
@@ -125,6 +125,8 @@ function tex_filter ($courseid, $text) {
$texexp = $matches[1][$i] . $matches[2][$i];
$texexp = str_replace('<nolink>','',$texexp);
$texexp = str_replace('</nolink>','',$texexp);
+ $texexp = str_replace('<span class="nolink">','',$texexp);
+ $texexp = str_replace('</span>','',$texexp);
$align = "middle";
if (preg_match('/^align=bottom /',$texexp)) {
$align = "text-bottom";

0 comments on commit ee9ff7f

Please sign in to comment.
Something went wrong with that request. Please try again.