|
From: <var...@us...> - 2021-06-21 11:30:31
|
Revision: 10305
http://sourceforge.net/p/phpwiki/code/10305
Author: vargenau
Date: 2021-06-21 11:30:30 +0000 (Mon, 21 Jun 2021)
Log Message:
-----------
lib/plugin/TeX2png.php: need to escape \e that is escape character
Modified Paths:
--------------
trunk/lib/plugin/TeX2png.php
Modified: trunk/lib/plugin/TeX2png.php
===================================================================
--- trunk/lib/plugin/TeX2png.php 2021-06-17 17:42:17 UTC (rev 10304)
+++ trunk/lib/plugin/TeX2png.php 2021-06-21 11:30:30 UTC (rev 10305)
@@ -113,12 +113,12 @@
$str = "\documentclass{article}\n";
$str .= "\usepackage{amsfonts}\n";
$str .= "\usepackage{amssymb}\n";
- // Here tou can add some package in order
+ // Here you can add some package in order
// to produce more sophisticated output
$str .= "\pagestyle{empty}\n";
$str .= "\begin{document}\n";
$str .= $text . "\n";
- $str .= "\end{document}";
+ $str .= "\\end{document}"; // need to escape \e that is escape character
fwrite($fp, $str);
fclose($fp);
return 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|