Fix html formatting issue with MarkdownExtra

This commit is contained in:
Craig Davis 2014-01-12 11:03:18 -07:00
parent 57fbb3dd8f
commit 31ce19507b
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ use Assetic\Asset\AssetCollection;
use Assetic\Asset\FileAsset;
use Assetic\Asset\GlobAsset;
use Assetic\Filter;
use Michelf\Markdown;
use Michelf\MarkdownExtra;
use Michelf\SmartyPants;
class HtmlCommand extends Command
@ -100,7 +100,7 @@ class HtmlCommand extends Command
$resumeContent = file_get_contents($source);
// Process with Markdown, and then use SmartyPants to clean up punctuation.
$resumeHtml = Markdown::defaultTransform($resumeContent);
$resumeHtml = MarkdownExtra::defaultTransform($resumeContent);
$resumeHtml = SmartyPants::defaultTransform($resumeHtml);
// We'll construct the title for the html document from the h1 and h2 tags