Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

Commit

Permalink
Fix static ParsedownExtra.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Aug 23, 2018
1 parent 4a7f18a commit e7153fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Converter/Converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public static function convertFrontmatter($string, $type = 'yaml')
*/
public static function convertBody($string)
{
return ParsedownExtra::instance()->text($string);
$parsedown = new ParsedownExtra();

return $parsedown->text($string);
}
}

0 comments on commit e7153fc

Please sign in to comment.