use HTML5 and Restricted mode of Textile parser
This commit is contained in:
parent
0e618b929d
commit
b11436b913
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue