Transform php markdown to a php5 lib

This commit is contained in:
ornicar 2010-05-06 11:58:44 +02:00
parent b79e6b91cc
commit 1a2ed38824
4 changed files with 1551 additions and 1743 deletions

View file

@ -2,12 +2,9 @@
namespace Bundle\MarkdownBundle\Parser;
require_once(realpath(__DIR__.'/..').'/vendor/parser/markdown.php');
require_once(realpath(__DIR__.'/..').'/vendor/parser/MarkdownParser.php');
class Light extends \Markdown_Parser
class Light extends \MarkdownParser
{
public function __construct()
{
parent::Markdown_Parser();
}
}

View file

@ -14,7 +14,7 @@ class LightTest extends \PHPUnit_Framework_TestCase
{
$parser = new Parser();
$this->assertTrue($parser instanceof \Markdown_Parser);
$this->assertTrue($parser instanceof \MarkdownParser);
return $parser;
}

1547
vendor/parser/MarkdownParser.php vendored Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff