use HTML5 and Restricted mode of Textile parser

This commit is contained in:
oliver 2015-07-27 14:56:47 +02:00
parent 0e618b929d
commit b11436b913

View file

@ -59,8 +59,8 @@
{
// Use Textile
\hhu\z\lib\Textile::load();
$textileParser = new \Netcarver\Textile\Parser();
$string = $textileParser->textileThis($string);
$textileParser = new \Netcarver\Textile\Parser('html5');
$string = $textileParser->textileRestricted($string, false, false);
// Add link targets
$string = $this->tLinks($string);