<?php

$vstup = urldecode(file_get_contents('php://input'));

require_once "texy-2.1/texy/texy.php";
$texy = new Texy();
$texy->encoding = "UTF-8";
$texy->setOutputMode(Texy::XHTML1_STRICT);
$texy->process(NULL); //advertisingNotice nepotřebujeme: <!-- by Texy2! -->
$vysledek = $texy->process($vstup);

echo($vysledek);

?>
