mirror of
https://github.com/typemill/typemill.git
synced 2025-07-30 19:00:32 +02:00
blox editor ready
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
|
||||
namespace Typemill\Extensions;
|
||||
|
||||
use Typemill\Models\Folder;
|
||||
use Typemill\Static\Slug;
|
||||
use Typemill\Events\OnShortcodeFound;
|
||||
|
||||
|
||||
class ParsedownExtension extends \ParsedownExtra
|
||||
{
|
||||
function __construct($baseUrl = '', $settings = NULL, $dispatcher = NULL)
|
||||
@@ -360,7 +359,7 @@ class ParsedownExtension extends \ParsedownExtra
|
||||
}
|
||||
|
||||
$text = trim($Line['text'], '#');
|
||||
$headline = Folder::createSlug($Line['text'], $this->settings);
|
||||
$headline = Slug::createSlug($Line['text'], $this->settings);
|
||||
|
||||
if ($this->strictMode and isset($text[0]) and $text[0] !== ' ')
|
||||
{
|
||||
|
Reference in New Issue
Block a user