mirror of
https://github.com/there4/markdown-resume.git
synced 2024-12-03 08:59:35 -05:00
Fix html formatting issue with MarkdownExtra
This commit is contained in:
parent
57fbb3dd8f
commit
31ce19507b
@ -10,7 +10,7 @@ use Assetic\Asset\AssetCollection;
|
|||||||
use Assetic\Asset\FileAsset;
|
use Assetic\Asset\FileAsset;
|
||||||
use Assetic\Asset\GlobAsset;
|
use Assetic\Asset\GlobAsset;
|
||||||
use Assetic\Filter;
|
use Assetic\Filter;
|
||||||
use Michelf\Markdown;
|
use Michelf\MarkdownExtra;
|
||||||
use Michelf\SmartyPants;
|
use Michelf\SmartyPants;
|
||||||
|
|
||||||
class HtmlCommand extends Command
|
class HtmlCommand extends Command
|
||||||
@ -100,7 +100,7 @@ class HtmlCommand extends Command
|
|||||||
$resumeContent = file_get_contents($source);
|
$resumeContent = file_get_contents($source);
|
||||||
|
|
||||||
// Process with Markdown, and then use SmartyPants to clean up punctuation.
|
// Process with Markdown, and then use SmartyPants to clean up punctuation.
|
||||||
$resumeHtml = Markdown::defaultTransform($resumeContent);
|
$resumeHtml = MarkdownExtra::defaultTransform($resumeContent);
|
||||||
$resumeHtml = SmartyPants::defaultTransform($resumeHtml);
|
$resumeHtml = SmartyPants::defaultTransform($resumeHtml);
|
||||||
|
|
||||||
// We'll construct the title for the html document from the h1 and h2 tags
|
// We'll construct the title for the html document from the h1 and h2 tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user