Skip to content

Commit

Permalink
Create PrintModel.php
Browse files Browse the repository at this point in the history
  • Loading branch information
creecros committed Oct 16, 2018
1 parent 4b3225f commit 29d1a0a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Model/PrintModel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace Kanboard\Plugin\Task2pdf\Model;

use Kanboard\Core\Base;

/**
* @plugin Task2pdf
*
* @package Model
* @author creecros
*/

class PrintModel extends Base {

public function codeblockFix($toFix)
{
$toFix = str_replace('```', '`', $toFix);
$toFix = str_replace('~~~', '`', $toFix);
return $toFix;
}

}

0 comments on commit 29d1a0a

Please sign in to comment.