From aa158141eaa9860b87daefaf512330ff527709da Mon Sep 17 00:00:00 2001 From: Casey McLaughlin Date: Thu, 22 Jan 2015 15:08:23 -0500 Subject: [PATCH] Bugfix - fixed UniqueSluggifier 'new' call --- src/MarkupFixer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MarkupFixer.php b/src/MarkupFixer.php index 152ea3a..13f8673 100644 --- a/src/MarkupFixer.php +++ b/src/MarkupFixer.php @@ -53,7 +53,7 @@ class MarkupFixer */ public function fix($markup, $topLevel = 1, $depth = 6) { - $sluggifier = new Sluggifier(); + $sluggifier = new UniqueSluggifier(); $tags = $this->determineHeaderTags($topLevel, $depth); $parsed = $this->domParser->str_get_html($markup); @@ -78,4 +78,4 @@ class MarkupFixer } } -/* EOF: TocMarkupFixer.php */ \ No newline at end of file +/* EOF: TocMarkupFixer.php */