Add a new tag to hide a paste on the main page

This commit is contained in:
Némunaire 2012-02-29 14:41:00 +01:00
commit a6a87b6f8a
5 changed files with 23 additions and 8 deletions

View file

@ -9,7 +9,7 @@ function generate_latex($filein, $content)
if (is_file($fileout))
return $fileout;
if (!preg_match("#\\begin{document}#ui", $content))
if (!preg_match("#begin{document}#ui", $content))
$content = "\documentclass[10pt]{report}
\usepackage[utf8x]{inputenc}