Changeset 62
- Timestamp:
- 03/05/07 06:29:52 (2 years ago)
- Files:
-
- latex/mod/latex/class.latexrender.php (modified) (1 diff)
- latex/mod/latex/lib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
latex/mod/latex/class.latexrender.php
r34 r62 265 265 } 266 266 267 // avoiding problems with 1x1 images 268 if ($dim["x"] <= 1 && $dim["y"] <= 1){ 269 return false; 270 } 271 267 272 // copy temporary formula file to cahed formula directory 268 273 $latex_hash = md5($latex_formula); latex/mod/latex/lib.php
r34 r62 37 37 } else { 38 38 // unparseable or potentially dangerous latex formula 39 $text = substr_replace($text, "",$pos,strlen($tex_matches[0][$i]));39 //$text = substr_replace($text, $tex_matches[1][$i],$pos,strlen($tex_matches[0][$i])); 40 40 } 41 41 }
