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
|
// 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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue