use HTML5 and Restricted mode of Textile parser

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

View file

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