2 // This script displays tex source code.
4 $texexp = urldecode($_SERVER['QUERY_STRING']);
5 // entities are usually encoded twice, first in HTML editor then in tex/filter.php
6 $texexp = html_entity_decode(html_entity_decode($texexp));
8 $texexp = htmlentities($texexp);
12 <title
>TeX Source
</title
>
13 <meta http
-equiv
="content-type" content
="text/html; charset=iso-8859-1" />
15 <body bgcolor
="#FFFFFF">
16 <?php
echo $texexp; ?
>