mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
fixed several issues with apidoc generator
This commit is contained in:
@ -57,7 +57,7 @@ class BaseMarkdown
|
||||
public static function process($markdown, $flavor = 'original')
|
||||
{
|
||||
$parser = static::getParser($flavor);
|
||||
return $parser->parse($parser);
|
||||
return $parser->parse($markdown);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -73,7 +73,7 @@ class BaseMarkdown
|
||||
public static function processParagraph($markdown, $flavor = 'original')
|
||||
{
|
||||
$parser = static::getParser($flavor);
|
||||
return $parser->parseParagraph($parser);
|
||||
return $parser->parseParagraph($markdown);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user